aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2020-01-31 17:24:30 +0100
committerLibravatar GitHub <noreply@github.com>2020-01-31 17:24:30 +0100
commit9277d42ee8fd6d9e3eccf948f71c8688f726784e (patch)
tree6f167ea9eb2ed50a079596048993a79c7aeb9447 /src/index.js
parentUpdate (diff)
parentFix lint (diff)
downloadferdium-app-9277d42ee8fd6d9e3eccf948f71c8688f726784e.tar.gz
ferdium-app-9277d42ee8fd6d9e3eccf948f71c8688f726784e.tar.zst
ferdium-app-9277d42ee8fd6d9e3eccf948f71c8688f726784e.zip
Merge branch 'develop' into start-in-tray
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js
index 69aae3dde..7bc0be0ea 100644
--- a/src/index.js
+++ b/src/index.js
@@ -184,8 +184,10 @@ const createWindow = () => {
184 mainWindow.webContents.on('did-finish-load', () => { 184 mainWindow.webContents.on('did-finish-load', () => {
185 const fns = onDidLoadFns; 185 const fns = onDidLoadFns;
186 onDidLoadFns = null; 186 onDidLoadFns = null;
187 for (const fn of fns) { // eslint-disable-line no-unused-vars 187 if (fns) {
188 fn(mainWindow); 188 for (const fn of fns) { // eslint-disable-line no-unused-vars
189 fn(mainWindow);
190 }
189 } 191 }
190 }); 192 });
191 193