mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
This commit is contained in:
parent
ab3c2ce729
commit
bc5fbd4642
1 changed files with 1 additions and 3 deletions
|
|
@ -87,10 +87,8 @@ export const loadAssets = (data: IAppearance) => {
|
|||
if (themeScriptElement) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/10341
|
||||
themeScriptElement.remove();
|
||||
addScript(themeScriptAddress, "themeScript");
|
||||
} else {
|
||||
addScript(themeScriptAddress, "themeScript");
|
||||
}
|
||||
addScript(themeScriptAddress, "themeScript");
|
||||
|
||||
const iconDefaultScriptElement = document.getElementById("iconDefaultScript");
|
||||
// 不能使用 data.iconVer,因为其他主题也需要加载默认图标,此时 data.iconVer 为其他图标的版本号
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue