mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
simplified updating note content
This commit is contained in:
@@ -280,7 +280,7 @@ function isHtmlEmpty(html) {
|
||||
|
||||
async function clearBrowserCache() {
|
||||
if (isElectron()) {
|
||||
const win = utils.dynamicRequire('@electron/remote').getCurrentWindow();
|
||||
const win = dynamicRequire('@electron/remote').getCurrentWindow();
|
||||
await win.webContents.session.clearCache();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user