mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
🚨
This commit is contained in:
parent
bb9bc70604
commit
559ad1b0dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue