diff --git a/static/js/main.js b/static/js/main.js index 17d3932..67810aa 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -94,7 +94,8 @@ function bootToken() { } } 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?.();