aboutsummaryrefslogtreecommitdiff
path: root/communities/174bg/handbook/public
diff options
context:
space:
mode:
Diffstat (limited to 'communities/174bg/handbook/public')
-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");