aboutsummaryrefslogtreecommitdiff
path: root/communities/174bg
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-26 08:16:19 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-26 08:16:19 +0100
commita3fbb2d5aa285db1caf4714e35f40836a7b55ae8 (patch)
treea68564a77d80250e9eb7dc101c04ec7de57b70c3 /communities/174bg
parent42859b1661da52c938644827f0af85c14f2350b1 (diff)
downloadunnamed-group-a3fbb2d5aa285db1caf4714e35f40836a7b55ae8.tar
unnamed-group-a3fbb2d5aa285db1caf4714e35f40836a7b55ae8.tar.gz
unnamed-group-a3fbb2d5aa285db1caf4714e35f40836a7b55ae8.tar.bz2
unnamed-group-a3fbb2d5aa285db1caf4714e35f40836a7b55ae8.tar.xz
unnamed-group-a3fbb2d5aa285db1caf4714e35f40836a7b55ae8.zip
All h2 TOC entries will now start collapsed
Diffstat (limited to 'communities/174bg')
-rw-r--r--communities/174bg/handbook/public/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/communities/174bg/handbook/public/index.html b/communities/174bg/handbook/public/index.html
index 3fbf556..ada804c 100644
--- a/communities/174bg/handbook/public/index.html
+++ b/communities/174bg/handbook/public/index.html
@@ -1432,7 +1432,7 @@
if (nested) {
const toggle = document.createElement("button");
const liLevel = parseInt(li.dataset.level);
- const collapsed = liLevel > 2;
+ const collapsed = liLevel >= 2;
toggle.className = "toc-toggle";
toggle.textContent = collapsed ? "▶" : "▼";
if (collapsed) li.classList.add("toc-collapsed");