mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
🚨
This commit is contained in:
parent
0200e6eed5
commit
bde581c8ad
3 changed files with 4 additions and 5 deletions
|
|
@ -3,7 +3,7 @@ export const hideElements = (panels: string[], protyle?: IProtyle) => {
|
|||
if (!protyle) {
|
||||
if (panels.includes("dialog")) {
|
||||
for (let i = 0; i < window.siyuan.dialogs.length; i++) {
|
||||
window.siyuan.dialogs[i].destroy()
|
||||
window.siyuan.dialogs[i].destroy();
|
||||
i--;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue