This commit is contained in:
Emile Bangma 2025-12-14 06:17:26 +03:00 committed by GitHub
commit 08ad72f8d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,6 +111,10 @@ function createFolderNode(
const folderPath = node.slug
folderContainer.dataset.folderpath = folderPath
if (currentSlug === folderPath) {
folderContainer.classList.add("active")
}
if (opts.folderClickBehavior === "link") {
// Replace button with link for link behavior
const button = titleContainer.querySelector(".folder-button") as HTMLElement