Skip to content

Commit

Permalink
fix: upcoming page-load event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHoodHacker committed Jan 7, 2025
1 parent 30c7d13 commit 088e9cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sigpwny.com/src/pages/meetings/[...indexSlug]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ const isAllIndex = props.currLink.semester === 'all';
}
}
};
document.addEventListener('DOMContentLoaded', initMeetingsIndex);
document.addEventListener('astro:after-swap', initMeetingsIndex);
document.addEventListener('astro:page-load', initMeetingsIndex);
</script>

<style>
Expand Down

0 comments on commit 088e9cd

Please sign in to comment.