Vanessa 2023-01-19 20:31:14 +08:00
parent a00af1bd6c
commit ed3f2af467
16 changed files with 63 additions and 50 deletions

View file

@ -99,8 +99,8 @@ export class MobileFiles extends Model {
event.preventDefault();
break;
} else if (type === "focus") {
if (window.siyuan.mobileEditor) {
this.selectItem(window.siyuan.mobileEditor.protyle.notebookId, window.siyuan.mobileEditor.protyle.path);
if (window.siyuan.mobile.editor) {
this.selectItem(window.siyuan.mobile.editor.protyle.notebookId, window.siyuan.mobile.editor.protyle.path);
}
event.preventDefault();
break;