mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Merge dc2f649542 into db4fb41024
This commit is contained in:
commit
709aee415a
1 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,9 @@ const openDockMenu = (app: App) => {
|
|||
custom.destroy();
|
||||
}
|
||||
}
|
||||
custom = plugin.docks[dockId].mobileModel(document.querySelector('#sidebar [data-type="sidebar-plugin"]'));
|
||||
const pluginPanelElement = document.querySelector('#sidebar [data-type="sidebar-plugin"]');
|
||||
pluginPanelElement.innerHTML = "";
|
||||
custom = plugin.docks[dockId].mobileModel(pluginPanelElement);
|
||||
window.siyuan.mobile.docks[dockId] = custom;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue