diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-05-24 10:04:03 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-05-24 10:04:03 +0200 |
commit | 5828062915dfa62318f1570351887a750f65e8c1 (patch) | |
tree | 9371d30f3351f5341bada99c258ab037429e56d1 /src/index.html | |
parent | Merge pull request #1443 from meetfranz/feature/multilingual-announcements (diff) | |
download | ferdium-app-5828062915dfa62318f1570351887a750f65e8c1.tar.gz ferdium-app-5828062915dfa62318f1570351887a750f65e8c1.tar.zst ferdium-app-5828062915dfa62318f1570351887a750f65e8c1.zip |
feat(App): Bump electron to 5.0.1
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.html b/src/index.html index 5ce7f6a96..bf15e2d4e 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -17,7 +17,7 @@ | |||
17 | if (isDevMode) { | 17 | if (isDevMode) { |
18 | const debugging = require('debug'); | 18 | const debugging = require('debug'); |
19 | debugging.enable(process.env.DEBUG); | 19 | debugging.enable(process.env.DEBUG); |
20 | 20 | ||
21 | const debug = debugging('Index'); | 21 | const debug = debugging('Index'); |
22 | 22 | ||
23 | document.querySelector('body').classList.add('isDevMode'); | 23 | document.querySelector('body').classList.add('isDevMode'); |
@@ -36,7 +36,7 @@ | |||
36 | window._onLiveReloadFileChanged = (file) => { | 36 | window._onLiveReloadFileChanged = (file) => { |
37 | if (!file.path.includes('/build/webview/') && !file.path.includes('/build/index.js') && !file.path.includes('/build/electron/')) { | 37 | if (!file.path.includes('/build/webview/') && !file.path.includes('/build/index.js') && !file.path.includes('/build/electron/')) { |
38 | originalReloadBehaviour(file); | 38 | originalReloadBehaviour(file); |
39 | } else { | 39 | } else { |
40 | if (file.path.includes('/build/webview/')) { | 40 | if (file.path.includes('/build/webview/')) { |
41 | debug('Livereload: Reloading all webvies'); | 41 | debug('Livereload: Reloading all webvies'); |
42 | const webviews = document.querySelectorAll('webview').forEach(webview => webview.reload()); | 42 | const webviews = document.querySelectorAll('webview').forEach(webview => webview.reload()); |