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:
parent
3c52c0daff
commit
ff8eaa91ea
|
@ -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">
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue