From 9d13b1386b043c671c92822251425f36ac0372b2 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 11:11:26 +0200 Subject: [PATCH] Debug: show test output in info panel --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 2ab5a60..632c674 100644 --- a/index.html +++ b/index.html @@ -327,7 +327,7 @@
-
Mondphase--
+
Mondphase--
@@ -913,6 +913,10 @@ if (moonTimes.set) { var moonZenithWhen = moonZenith && moonZenith > now ? formatDateLong(moonZenith) : ''; document.getElementById('moon-zenith-value').textContent = moonZenith ? formatTimeHM(moonZenith) : '--:--'; document.getElementById('moon-zenith-when').textContent = moonZenithWhen ? 'ยท ' + moonZenithWhen : ''; + var dbgEl = document.getElementById('dbg-test'); + if (dbgEl) { + dbgEl.textContent = 'moon-zenith: ' + (moonZenith ? formatTimeHM(moonZenith) : 'none') + ' visible: ' + moonVisible; + } } catch (e) { console.log('updateClock error:', e); }