This should fix mobile menu

This commit is contained in:
Adam Matthiesen 2024-01-30 12:04:33 -08:00
parent e8cdc1189f
commit efb056f4c0
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ const { settings } = Astro.props as Props;
if (document.readyState === "complete") {
callback();
} else {
document.addEventListener("DOMContentLoaded", callback);
document.addEventListener("astro:page-load", callback);
}
}