Skip to content

Commit

Permalink
Fix issue where callout icons would not be rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Eskild Steensen committed Mar 7, 2023
1 parent 4edcab6 commit 71fc4b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/site/_includes/components/calloutScript.njk
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
}
});
lucide.createIcons();
// Collapse callouts
Array.from(document.querySelectorAll(".callout.is-collapsible")).forEach((elem) => {
elem.querySelector('.callout-title').addEventListener("click", (event) => {
Expand Down

0 comments on commit 71fc4b8

Please sign in to comment.