mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 06:02:33 +01:00
This commit is contained in:
parent
34c3764dd9
commit
408a4a7ff1
2 changed files with 11 additions and 1 deletions
|
|
@ -59,6 +59,14 @@ export const openMobileFileById = (id: string, action = [Constants.CB_GET_HL]) =
|
|||
}, getResponse => {
|
||||
onGet(getResponse, window.siyuan.mobile.editor.protyle, action);
|
||||
window.siyuan.mobile.editor.protyle.breadcrumb?.render(window.siyuan.mobile.editor.protyle);
|
||||
const exitFocusElement = window.siyuan.mobile.editor.protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');
|
||||
if (action.includes(Constants.CB_GET_ALL)) {
|
||||
exitFocusElement.classList.remove("fn__none");
|
||||
exitFocusElement.nextElementSibling.classList.remove("fn__none");
|
||||
} else {
|
||||
exitFocusElement.classList.add("fn__none");
|
||||
exitFocusElement.nextElementSibling.classList.add("fn__none");
|
||||
}
|
||||
});
|
||||
window.siyuan.mobile.editor.protyle.undo.clear();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue