bfahrenfort
2024-08-31 84a9be65ce9c72aba2bc35aa7df4686d0a8082c4
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