mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 menu
This commit is contained in:
parent
e4b14a12c6
commit
a3af4cf722
3 changed files with 3 additions and 8 deletions
|
|
@ -94,11 +94,6 @@ export const initBar = (app: App) => {
|
|||
} else {
|
||||
toolbarElement.dispatchEvent(new CustomEvent("click", {detail: itemId}));
|
||||
}
|
||||
if (!window.siyuan.menus.menu.element.classList.contains("fn__none") &&
|
||||
window.siyuan.menus.menu.element.getAttribute("data-name") === "barmore") {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}).element);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue