quartz/components/scripts/callout.inline.ts
@@ -28,8 +28,8 @@ ) as HTMLCollectionOf<HTMLElement> for (const div of collapsible) { const title = div.firstElementChild if (!title) continue if (title) { title.addEventListener("click", toggleCallout) window.addCleanup(() => title.removeEventListener("click", toggleCallout)) @@ -38,7 +38,5 @@ div.style.maxHeight = height + "px" } } } document.addEventListener("nav", setupCallout) window.addEventListener("resize", setupCallout)