update app_modules.js
This commit is contained in:
@@ -1010,7 +1010,13 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
var Booted = false;
|
var Booted = false;
|
||||||
getPeers();
|
getPeers();
|
||||||
if (window.navigator.onLine == false) {
|
if (window.navigator.onLine == false) {
|
||||||
|
Booted = true;
|
||||||
document.getElementById("loading").style.display = "none";
|
document.getElementById("loading").style.display = "none";
|
||||||
|
if (!SUB_LOGGED_IN) {
|
||||||
|
setUrlHash("login");
|
||||||
|
open_page("login");
|
||||||
|
return;
|
||||||
|
}
|
||||||
toastr.error("Sin internet! Los cambios se sincronizarán cuando te vuelvas a conectar.")
|
toastr.error("Sin internet! Los cambios se sincronizarán cuando te vuelvas a conectar.")
|
||||||
}
|
}
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user