Skip to content

Commit

Permalink
bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Jun 5, 2024
1 parent 8650586 commit 3a31e98
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 290 deletions.
6 changes: 3 additions & 3 deletions components/loading-indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const doInit = () => {

export function initialize(onPageLoad?: () => void | Promise<void>, lowPrio = false) {
if (!(initializer && lowPrio)) initializer = onPageLoad;
document.addEventListener("astro:page-load", doInit);
document.addEventListener("astro:before-preparation", doShow);
document.addEventListener("astro:after-preparation", doHide);
document.addEventListener('astro:page-load', doInit);
document.addEventListener('astro:before-preparation', doShow);
document.addEventListener('astro:after-preparation', doHide);
}

type Options = {
Expand Down
Loading

0 comments on commit 3a31e98

Please sign in to comment.