mirror of
https://github.com/vladmandic/automatic
synced 2026-09-08 22:08:42 +02:00
merge process and interrogate, add exif handler
This commit is contained in:
@@ -67,6 +67,8 @@ function extract_image_from_gallery(gallery) {
|
||||
|
||||
async function setTheme(val, old) {
|
||||
if (!old || val === old) return;
|
||||
old = old.replace('modern/', '');
|
||||
val = val.replace('modern/', '');
|
||||
const links = Array.from(document.getElementsByTagName('link')).filter((l) => l.href.includes(old));
|
||||
for (const link of links) {
|
||||
const href = link.href.replace(old, val);
|
||||
|
||||
Reference in New Issue
Block a user