Copilot suggestion

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Emile Bangma 2025-06-19 22:52:06 +02:00 committed by GitHub
parent b31acc6f0f
commit 50b6c217c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -262,7 +262,7 @@ document.addEventListener("prenav", async () => {
sessionStorage.setItem("explorerScrollTop", explorer.scrollTop.toString())
if (!currentExplorerState) return
const stringifiedFileTree = JSON.stringify(currentExplorerState)
localStorage.setItem("fileTree", stringifiedFileTree)
sessionStorage.setItem("fileTree", stringifiedFileTree)
})
document.addEventListener("nav", async (e: CustomEventMap["nav"]) => {