mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 00:36:10 +01:00
This commit is contained in:
parent
c08aec57fb
commit
0a0d8cf09a
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,6 @@ export const uninstall = (app: App, name: string, isReload: boolean) => {
|
|||
plugin.statusBarIcons.forEach(item => {
|
||||
item.remove();
|
||||
});
|
||||
/// #endif
|
||||
// rm dock
|
||||
const docksKeys = Object.keys(plugin.docks);
|
||||
docksKeys.forEach(key => {
|
||||
|
|
@ -69,6 +68,7 @@ export const uninstall = (app: App, name: string, isReload: boolean) => {
|
|||
window.siyuan.layout.bottomDock.remove(key);
|
||||
}
|
||||
});
|
||||
/// #endif
|
||||
// rm listen
|
||||
Array.from(document.childNodes).find(item => {
|
||||
if (item.nodeType === 8 && item.textContent === name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue