Only show chevron in trees where appropriate

This commit is contained in:
2026-09-30 15:52:06 +02:00
parent 3170d1c6d9
commit b5a8d3d003
2 changed files with 38 additions and 2 deletions
+2 -1
View File
@@ -84,7 +84,8 @@
var childrenEl = null
var loaded = false
var isOpen = false
var isLeaf = false
var isLeaf = !entry.hasChildren
if (isLeaf) chevron.classList.add("is-leaf")
function ensureChildrenEl() {
if (!childrenEl) {