mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
chore(tab_navigation): reintroduce history cleaning
This commit is contained in:
parent
9e099444b6
commit
5a668ede01
@ -64,6 +64,9 @@ function initOnElectron() {
|
|||||||
if (options.get("nativeTitleBarVisible") !== "true") {
|
if (options.get("nativeTitleBarVisible") !== "true") {
|
||||||
initTitleBarButtons(style, currentWindow);
|
initTitleBarButtons(style, currentWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear navigation history on frontend refresh.
|
||||||
|
currentWindow.webContents.navigationHistory.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
function initTitleBarButtons(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {
|
function initTitleBarButtons(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user