forked from github/quartz
Copilot suggestion
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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"]) => {
|
||||
|
||||
Reference in New Issue
Block a user