From 73864d898c3fb3cb0d9a8e3060ae01e780774d48 Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 27 Aug 2021 19:18:42 +0200 Subject: Sleek new loading screen --- views/script/menu_login.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'views/script/menu_login.js') 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 -- cgit