Jacky Zhao
2025-03-24 aaa5c8e8e40be33aec74c1cf0073ac081cb918fc
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