mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
fix online check
This commit is contained in:
parent
2d2181fae2
commit
d43371c99b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
<script>
|
||||
async function loadLang() {
|
||||
const text = document.getElementById("text-splashscreen");
|
||||
if (window.navigator.onLine === true) {
|
||||
if (window.navigator.onLine === false) {
|
||||
text.innerHTML = await internal.getLang("loading_screen_offline");
|
||||
document.getElementById("ignore").style.display = "block";
|
||||
document.getElementById("ignore").onclick = () => {
|
||||
|
|
Loading…
Reference in a new issue