Fix main.js crash

This commit is contained in:
Hitonabi
2026-06-20 22:37:52 +02:00
parent 8b76adc96e
commit 8e8d564469
+2 -1
View File
@@ -94,7 +94,8 @@ function bootToken() {
} }
} }
function tickClock() { function tickClock() {
$("#clock").textContent = new Date().toTimeString().slice(0, 5); const c = $("#clock");
if (c) c.textContent = new Date().toTimeString().slice(0, 5);
} }
for (const p of panels) p.mount?.(); for (const p of panels) p.mount?.();