From 4877a9c934201e8f0e4e83821efe2dc3f9299d9a Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 03 Aug 2023 07:08:13 +0000
Subject: [PATCH] fix callout aliases not being used properly
---
quartz/components/scripts/callout.inline.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/quartz/components/scripts/callout.inline.ts b/quartz/components/scripts/callout.inline.ts
index c13571a..556ef3c 100644
--- a/quartz/components/scripts/callout.inline.ts
+++ b/quartz/components/scripts/callout.inline.ts
@@ -7,7 +7,9 @@
}
function setupCallout() {
- const collapsible = document.getElementsByClassName(`callout is-collapsible`) as HTMLCollectionOf<HTMLElement>
+ const collapsible = document.getElementsByClassName(
+ `callout is-collapsible`,
+ ) as HTMLCollectionOf<HTMLElement>
for (const div of collapsible) {
const title = div.firstElementChild
--
Gitblit v1.10.0