mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
Merge dc2f649542 into 7217c66636
This commit is contained in:
commit
e46e82c998
1 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,9 @@ const openDockMenu = (app: App) => {
|
||||||
custom.destroy();
|
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;
|
window.siyuan.mobile.docks[dockId] = custom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue