mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🎨
This commit is contained in:
parent
1ec4bb950c
commit
1df7c23995
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ export const initFramework = () => {
|
|||
let backlink: MobileBacklinks;
|
||||
let bookmark: MobileBookmarks;
|
||||
let tag: MobileTags;
|
||||
sidebarElement.querySelector(".toolbar--border").addEventListener(getEventName(), (event: Event & {
|
||||
// 不能使用 getEventName,否则点击返回会展开右侧栏
|
||||
sidebarElement.querySelector(".toolbar--border").addEventListener("click", (event: Event & {
|
||||
target: Element
|
||||
}) => {
|
||||
const svgElement = hasTopClosestByTag(event.target, "svg");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue