This should fix mobile menu
This commit is contained in:
parent
e8cdc1189f
commit
efb056f4c0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue