misc
This commit is contained in:
@@ -89,7 +89,5 @@
|
||||
ready();
|
||||
}
|
||||
|
||||
// Support both original and obfuscated event names
|
||||
document.addEventListener("astro:page-load", initMobileMenu);
|
||||
document.addEventListener("c:ready", initMobileMenu);
|
||||
})();
|
||||
|
||||
@@ -91,5 +91,4 @@
|
||||
d.classList.add('ready');
|
||||
};
|
||||
document.addEventListener('astro:after-swap', swapHandler);
|
||||
document.addEventListener('c:swap', swapHandler);
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user