From ff8eaa91eaac1310e7b9ff951d144f30c86662eb Mon Sep 17 00:00:00 2001 From: Keith Maika Date: Mon, 11 Apr 2022 11:41:45 -0400 Subject: [PATCH] Allow the create account page to display properly. Make the reconnect menu option always reload the index.html page instead of whatever the current page may be. --- index.html | 2 +- modules/menu-service.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 719c905..d6f6ebf 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - +
diff --git a/modules/menu-service.js b/modules/menu-service.js index 1eeb1a5..588fde4 100644 --- a/modules/menu-service.js +++ b/modules/menu-service.js @@ -18,7 +18,11 @@ menuService.createMenu = (window) => { accelerator: 'CmdOrCtrl+R', click: () => { window.show() - window.reload() + window.loadFile('index.html').catch((reason) => { + console.log(reason); + app.isQuitting = true; + app.quit(); + }); } }, {