This commit is contained in:
zadam
2023-05-05 23:41:11 +02:00
parent 6dfc72c065
commit fa3cbb4645
54 changed files with 124 additions and 128 deletions

View File

@@ -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());