Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/14128

Vanessa88b5bc3ec72f
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index 12dedadf76..5ff06d2b8b 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -790,8 +790,12 @@ export const bazaar = {
return;
}
}
- const linkElement = (document.getElementById("themeDefaultStyle") as HTMLLinkElement);
- linkElement.href = linkElement.href + "1";
+ const defaultThemeElement = (document.getElementById("themeDefaultStyle") as HTMLLinkElement);
+ defaultThemeElement.href = defaultThemeElement.href + "1";
+ const themeElement = (document.getElementById("themeStyle") as HTMLLinkElement);
+ if (themeElement) {
+ themeElement.href = themeElement.href + "1";
+ }
}
});
});