update app_modules.js

This commit is contained in:
naielv
2025-08-11 15:17:28 +02:00
parent b0ff7dd456
commit 6ed2922ba4

View File

@@ -1009,6 +1009,10 @@ document.addEventListener("DOMContentLoaded", () => {
});
var Booted = false;
getPeers();
if (window.navigator.onLine == false) {
document.getElementById("loading").style.display = "none";
toastr.error("Sin internet! Los cambios se sincronizarán cuando te vuelvas a conectar.")
}
setInterval(() => {
getPeers();
if (ConnectionStarted && !Booted) {