Vanessa 2024-10-23 16:14:44 +08:00
parent 814a4ec3ac
commit c856c8725b
3 changed files with 4 additions and 3 deletions

View file

@ -46,6 +46,7 @@ const openDockMenu = (app: App) => {
}
}
custom = plugin.docks[dockId].mobileModel(document.querySelector('#sidebar [data-type="sidebar-plugin"]'));
window.siyuan.mobile.docks[dockId] = custom
}
}
});
@ -135,7 +136,7 @@ export const initFramework = (app: App, isStart: boolean) => {
}
});
});
window.siyuan.mobile.docks.files = new MobileFiles(app);
window.siyuan.mobile.docks.file = new MobileFiles(app);
document.getElementById("toolbarFile").addEventListener("click", () => {
hideKeyboardToolbar();
activeBlur();