From 356a4c3f2eb6e2b58b0d4800424120257592c27e Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Sun, 6 Sep 2026 15:02:13 -0400 Subject: [PATCH] Docs: sync the bundled dashboard script --- public/js/dashboard.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/dashboard.js b/public/js/dashboard.js index b75cd3b..27542dc 100644 --- a/public/js/dashboard.js +++ b/public/js/dashboard.js @@ -393,8 +393,10 @@ function buildDesktop() { strip.appendChild(p); }); const dots = el('dots'); + dots.style.cssText = ''; dots.replaceChildren(); pages.forEach((_, i) => dots.appendChild(mkDot(i, pages.length, 0, goTo))); + dots.hidden = pages.length < 2; const dk = el('dock'); dk.replaceChildren(); dock.forEach(item => dk.appendChild(mkDock(item))); @@ -487,6 +489,7 @@ function syncMobPages() { const dots = el('dots'); dots.replaceChildren(); for (let i = 0; i < domCount; i++) dots.appendChild(mkDot(i, domCount, pg, goTo)); + dots.hidden = domCount < 2; const pillDots = q('.msp-dots'); if (pillDots) { while (pillDots.children.length < domCount) {