mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 10:50:15 +01:00
This commit is contained in:
parent
0428d050d0
commit
4362df77ba
2 changed files with 3 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ export class Dialog {
|
|||
this.element.classList.add("b3-dialog--open");
|
||||
});
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/6783
|
||||
window.siyuan.menus.menu.remove();
|
||||
}
|
||||
|
||||
public destroy() {
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
|
|||
if (edit) {
|
||||
edit.destroy();
|
||||
}
|
||||
window.siyuan.menus.menu.remove();
|
||||
}
|
||||
});
|
||||
dialog.element.setAttribute("data-key", hotkey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue