diff options
Diffstat (limited to 'views/script/menu_login.js')
-rw-r--r-- | views/script/menu_login.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/views/script/menu_login.js b/views/script/menu_login.js index f2d7c7e..57b4bbc 100644 --- a/views/script/menu_login.js +++ b/views/script/menu_login.js @@ -88,7 +88,6 @@ window.addEventListener('load', () => { onlineMode = false;
postOnlineMode();
document.getElementById("loginIntro").innerText = lang.polymer.error[2];
- document.getElementById("online").parentElement.parentElement.outerHTML = "";
})
}).catch((e) => {
require('@electron/remote').getCurrentWindow().webContents.send("notification", {title: lang.polymer.error[0], message: lang.polymer.error[1]});
@@ -96,7 +95,6 @@ window.addEventListener('load', () => { onlineMode = false;
postOnlineMode();
document.getElementById("loginIntro").innerText = lang.polymer.error[2];
- document.getElementById("online").parentElement.parentElement.outerHTML = "";
})
}).catch((e) => {
require('@electron/remote').getCurrentWindow().webContents.send("notification", {title: lang.polymer.error[0], message: lang.polymer.error[1]});
@@ -104,7 +102,6 @@ window.addEventListener('load', () => { onlineMode = false;
postOnlineMode();
document.getElementById("loginIntro").innerText = lang.polymer.error[2];
- document.getElementById("online").parentElement.parentElement.outerHTML = "";
})
})
@@ -237,6 +234,5 @@ function postOnlineMode() { console.error(e);
onlineMode = false;
document.getElementById("loginIntro").innerText = lang.polymer.error[2];
- document.getElementById("online").parentElement.parentElement.outerHTML = "";
}
}
\ No newline at end of file |