mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 20:38:49 +01:00
This commit is contained in:
parent
f19d5a2085
commit
e52fae7fe0
1 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,9 @@ const openDockMenu = (app: App) => {
|
|||
return;
|
||||
} else {
|
||||
if (custom) {
|
||||
custom.destroy();
|
||||
if (custom.destroy) {
|
||||
custom.destroy();
|
||||
}
|
||||
}
|
||||
custom = plugin.docks[dockId].mobileModel(document.querySelector('#sidebar [data-type="sidebar-plugin"]'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue