This commit is contained in:
Vanessa 2023-03-25 17:13:36 +08:00
parent d6c9b60015
commit 5caf532fd6
2 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ export const initFramework = () => {
let bookmark: MobileBookmarks;
let tag: MobileTags;
// 不能使用 getEventName否则点击返回会展开右侧栏
const firstToolbarElement = sidebarElement.querySelector(".toolbar--border")
const firstToolbarElement = sidebarElement.querySelector(".toolbar--border");
firstToolbarElement.addEventListener("click", (event: Event & {
target: Element
}) => {