mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🚨
This commit is contained in:
parent
ae35acbb35
commit
621babd29d
9 changed files with 11 additions and 12 deletions
|
|
@ -178,12 +178,12 @@ const saveUI = () => {
|
|||
onlyData: false,
|
||||
errorExit: false
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export const unbindSaveUI = () => {
|
||||
window.removeEventListener("beforeunload", saveUI);
|
||||
window.removeEventListener("pagehide", saveUI);
|
||||
}
|
||||
};
|
||||
|
||||
export const initWindow = async (app: App) => {
|
||||
/// #if !BROWSER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue