Jacky Zhao
2025-03-13 0babbdf7809a6c779c2548b1d1b50ef28d994cf9
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