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.
This commit is contained in:
Keith Maika 2022-04-11 11:41:45 -04:00
parent cf822e54f8
commit e8ba4181fd
No known key found for this signature in database
GPG Key ID: F71740E8722C75F1
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" media="screen" href="node_modules/converse.js/dist/converse.min.css">
<link rel="stylesheet" type="text/css" href="resources/css/app.css">
</head>
<base href="./">
<base href="./index.html">
<body class="converse-fullscreen">
<div class="main-window">
<div class="page-default">

View File

@ -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();
});
}
},
{