Skip to content

Commit

Permalink
🎨 #12087
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 20, 2024
1 parent 7180105 commit e461185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/layout/topBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e461185

Please sign in to comment.