Jacky Zhao
2025-03-24 fe2e16d937e2b57fb2bb1d10dea47db7256a4a49
quartz/components/scripts/toc.inline.ts
@@ -25,7 +25,7 @@
}
function setupToc() {
  for (const toc of document.querySelectorAll(".toc")) {
  for (const toc of document.getElementsByClassName("toc")) {
    const button = toc.querySelector(".toc-header")
    const content = toc.querySelector(".toc-content")
    if (!button || !content) return