mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
removed note detail service
This commit is contained in:
@@ -401,4 +401,9 @@ class AppContext {
|
||||
|
||||
const appContext = new AppContext();
|
||||
|
||||
// we should save all outstanding changes before the page/app is closed
|
||||
$(window).on('beforeunload', () => {
|
||||
appContext.trigger('beforeUnload');
|
||||
});
|
||||
|
||||
export default appContext;
|
||||
Reference in New Issue
Block a user