diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-27 19:18:42 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-27 19:18:42 +0200 |
commit | 73864d898c3fb3cb0d9a8e3060ae01e780774d48 (patch) | |
tree | d3b07d36074f8a58e10856e6cf5975edcd55c7a7 /views/script/menu_login.js | |
parent | a3104b69bc8153eed684f54e4249c84a6559182f (diff) | |
download | kartik-client-73864d898c3fb3cb0d9a8e3060ae01e780774d48.tar.gz kartik-client-73864d898c3fb3cb0d9a8e3060ae01e780774d48.tar.bz2 kartik-client-73864d898c3fb3cb0d9a8e3060ae01e780774d48.zip |
Sleek new loading screen
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 |