mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🚨
This commit is contained in:
@@ -72,7 +72,7 @@ export const loadAssets = (data: IAppearance) => {
|
||||
const iconURL = `/appearance/icons/${["ant", "material"].includes(data.icon) ? data.icon : "material"}/icon.js?v=${Constants.SIYUAN_VERSION}`;
|
||||
if (iconDefaultScriptElement) {
|
||||
iconDefaultScriptElement.remove();
|
||||
let svgElement = document.body.firstElementChild
|
||||
let svgElement = document.body.firstElementChild;
|
||||
while (svgElement.tagName === "svg") {
|
||||
const currentSvgElement = svgElement;
|
||||
svgElement = svgElement.nextElementSibling;
|
||||
|
||||
Reference in New Issue
Block a user