We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5277825 commit 5b0d5b8Copy full SHA for 5b0d5b8
1 file changed
landing/src/pages/index.astro
@@ -312,8 +312,7 @@ import MainPage from '@layouts/MainPage.astro';
312
}
313
314
function ready() {
315
- document.addEventListener('DOMContentLoaded', init);
316
- // Also listen for Astro page transitions
+ // Only listen for astro:page-load which fires on both initial load and transitions
317
document.addEventListener('astro:page-load', init);
318
319
0 commit comments