From a3fbb2d5aa285db1caf4714e35f40836a7b55ae8 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Tue, 26 May 2026 08:16:19 +0100 Subject: All h2 TOC entries will now start collapsed --- communities/174bg/handbook/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'communities') 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"); -- cgit v1.2.3