From afa6312b6f362848a506399930a975bfebf3f693 Mon Sep 17 00:00:00 2001 From: Astra Date: Sun, 22 Apr 2018 05:41:55 -0400 Subject: [PATCH] can i do this now? --- monitor.htm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/monitor.htm b/monitor.htm index e51c91e..85eda28 100644 --- a/monitor.htm +++ b/monitor.htm @@ -36,9 +36,8 @@ // inject stage 2 once Discord is done loading win.webContents.on('dom-ready', () => { - win.webContents.executeJavaScript(shared).then(() => - win.webContents.executeJavaScript(stage2) - ); + win.webContents.executeJavaScript(shared); + win.webContents.executeJavaScript(stage2); }); function load() {