mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 18:26:09 +01:00
This commit is contained in:
parent
7180105d6c
commit
e461185bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export const initBar = (app: App) => {
|
|||
}
|
||||
}
|
||||
};
|
||||
if (!useElement) {
|
||||
if (!useElement && hideElement.querySelector("svg")) {
|
||||
const svgElement = hideElement.querySelector("svg").cloneNode(true) as HTMLElement;
|
||||
svgElement.classList.add("b3-menu__icon");
|
||||
menuOptions.iconHTML = svgElement.outerHTML;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue