diff --git a/js/layout.js b/js/layout.js index ced4284..693527d 100644 --- a/js/layout.js +++ b/js/layout.js @@ -1,4 +1,6 @@ -// === RASTREADOR FANTASMA GPS (MODO DE CAMINO) === +// ========================================== +// RASTREADOR FANTASMA GPS (MODO DE CAMINO) +// ========================================== setInterval(async () => { if (!localStorage.getItem("token") || localStorage.getItem("role") !== "operario") return; @@ -36,4 +38,4 @@ setInterval(async () => { }, () => {}, { enableHighAccuracy: false, timeout: 10000, maximumAge: 30000 }); } } catch (e) { } -}, 15000); // 15 segundos para que sea súper fluido en el mapa \ No newline at end of file +}, 15000); // Se ejecuta cada 15 segundos \ No newline at end of file