This commit is contained in:
Vanessa 2023-10-30 00:40:59 +08:00
parent c437f8df9e
commit bba40d278f

View File

@ -51,7 +51,7 @@ export const getNewFilePath = (useSavePath: boolean) => {
}
}
/// #else
if (window.siyuan.mobile.editor) {
if (window.siyuan.mobile.editor && document.getElementById("empty").classList.contains("fn__none")) {
notebookId = window.siyuan.mobile.editor.protyle.notebookId;
if (useSavePath) {
currentPath = window.siyuan.mobile.editor.protyle.path;