From 25a6747d7d63914c206d58d7d6ac3846d9934abe Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 20 Jan 2026 17:37:59 +0000
Subject: [PATCH] chore(deps): bump the production-dependencies group across 1 directory with 5 updates (#2282)
---
quartz/components/scripts/explorer.inline.ts | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/quartz/components/scripts/explorer.inline.ts b/quartz/components/scripts/explorer.inline.ts
index 9c83411..3c6851c 100644
--- a/quartz/components/scripts/explorer.inline.ts
+++ b/quartz/components/scripts/explorer.inline.ts
@@ -111,6 +111,10 @@
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
--
Gitblit v1.10.0