diff --git a/src/components/scripts/explorer.inline.ts b/src/components/scripts/explorer.inline.ts index f78aa82..0127d1e 100644 --- a/src/components/scripts/explorer.inline.ts +++ b/src/components/scripts/explorer.inline.ts @@ -356,10 +356,10 @@ document.addEventListener("nav", async (e) => { const folderPath = folderContainer.dataset.folderpath; if (folderBehavior === "link") { - if (folderPath) { - const folderHref = simplifySlug(folderPath); - window.location.href = folderHref || "."; - } + // When folderBehavior is "link", the