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
cf822e54f8
commit
e8ba4181fd
|
@ -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" media="screen" href="node_modules/converse.js/dist/converse.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="resources/css/app.css">
|
<link rel="stylesheet" type="text/css" href="resources/css/app.css">
|
||||||
</head>
|
</head>
|
||||||
<base href="./">
|
<base href="./index.html">
|
||||||
<body class="converse-fullscreen">
|
<body class="converse-fullscreen">
|
||||||
<div class="main-window">
|
<div class="main-window">
|
||||||
<div class="page-default">
|
<div class="page-default">
|
||||||
|
|
|
@ -18,7 +18,11 @@ menuService.createMenu = (window) => {
|
||||||
accelerator: 'CmdOrCtrl+R',
|
accelerator: 'CmdOrCtrl+R',
|
||||||
click: () => {
|
click: () => {
|
||||||
window.show()
|
window.show()
|
||||||
window.reload()
|
window.loadFile('index.html').catch((reason) => {
|
||||||
|
console.log(reason);
|
||||||
|
app.isQuitting = true;
|
||||||
|
app.quit();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue