Andrew
2024-08-24 c4cd84dcc884469a0d84e2bec239b2fc3596c44f
quartz/components/scripts/explorer.inline.ts
@@ -17,6 +17,10 @@
function toggleExplorer(this: HTMLElement) {
  this.classList.toggle("collapsed")
  this.setAttribute(
    "aria-expanded",
    this.getAttribute("aria-expanded") === "true" ? "false" : "true",
  )
  const content = this.nextElementSibling as MaybeHTMLElement
  if (!content) return