🎨 menu

This commit is contained in:
Vanessa 2023-05-29 12:39:38 +08:00
parent e4b14a12c6
commit a3af4cf722
3 changed files with 3 additions and 8 deletions

View file

@ -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);
});