mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
grammar
This commit is contained in:
@@ -29,7 +29,7 @@ export default class HistoryNavigationButton extends ButtonFromNoteWidget {
|
||||
|
||||
this.webContents = utils.dynamicRequire('@electron/remote').getCurrentWebContents();
|
||||
|
||||
// without this the history is preserved across frontend reloads
|
||||
// without this, the history is preserved across frontend reloads
|
||||
this.webContents.clearHistory();
|
||||
|
||||
this.refresh();
|
||||
@@ -87,7 +87,7 @@ export default class HistoryNavigationButton extends ButtonFromNoteWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
// disabling this because in electron 9 there's weird performance problem which makes these webContents calls
|
||||
// disabling this because in electron 9 there's a weird performance problem which makes these webContents calls
|
||||
// block UI thread for > 1 second on specific notes (book notes displaying underlying render notes with scripts)
|
||||
|
||||
// this.$backInHistory.toggleClass('disabled', !this.webContents.canGoBack());
|
||||
|
||||
Reference in New Issue
Block a user