various bug fixes Sunday 20260301 5:15pm

This commit is contained in:
2026-03-01 23:44:47 +00:00
parent bcb0007217
commit 9dedf6dbf2
9 changed files with 2078 additions and 254 deletions

View File

@@ -170,15 +170,6 @@ function escHtml(s) {
}
// ---- Mobile More Panel ----
function toggleMobileMore() {
const panel = document.getElementById('mobile-more-panel');
const btn = document.getElementById('mobile-more-btn');
if (panel) panel.classList.toggle('open');
if (btn) btn.classList.toggle('active');
}
// ---- Timer Pill (topbar running timer) ----
let timerStartAt = null;
@@ -243,3 +234,19 @@ document.addEventListener('DOMContentLoaded', () => {
pollTimer();
setInterval(pollTimer, 30000);
});
// ---- Mobile More Panel ----
document.addEventListener('DOMContentLoaded', function() {
var btn = document.getElementById('mobMoreBtn');
var panel = document.getElementById('mobMore');
var overlay = document.getElementById('mobOverlay');
if (!btn || !panel || !overlay) return;
btn.addEventListener('click', function() {
panel.classList.toggle('open');
overlay.classList.toggle('open');
});
overlay.addEventListener('click', function() {
panel.classList.remove('open');
overlay.classList.remove('open');
});
});