fix online check

This commit is contained in:
smartfrigde 2024-02-03 20:20:56 +01:00
parent 2d2181fae2
commit d43371c99b

View file

@ -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 = () => {