Skip to content

Commit 1bed77d

Browse files
authored
Updated code
1 parent b1f6b60 commit 1bed77d

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

Monitor/index.html

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -535,27 +535,6 @@ <h4 class="text-sm font-bold text-slate-800 mb-2">Repositorios Oficiales</h4>
535535
window.onload = function() {
536536
initChart(false);
537537
};
538-
// ===============================
539-
// APAGADO FORZADO TEMP / pH EN K+
540-
// ===============================
541-
542-
setInterval(() => {
543-
if (mode === "potassium") {
544-
// Oculta TODO lo que huela a temperatura o pH
545-
document.querySelectorAll(
546-
'[id*="temp"], [class*="temp"], [id*="ph"], [class*="ph"]'
547-
).forEach(el => {
548-
el.style.display = "none";
549-
});
550-
} else {
551-
// En salinidad, vuelve a mostrar todo
552-
document.querySelectorAll(
553-
'[id*="temp"], [class*="temp"], [id*="ph"], [class*="ph"]'
554-
).forEach(el => {
555-
el.style.display = "";
556-
});
557-
}
558-
}, 300);
559538
</script>
560539
</body>
561540
</html>

0 commit comments

Comments
 (0)