0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

[ci] format

This commit is contained in:
Martin Trapp 2024-04-04 17:06:11 +00:00 committed by astrobot-houston
parent ca6bb1f31e
commit 3bd6758e1c

View file

@ -207,8 +207,8 @@ const moveToLocation = (
location.href = to.href; // this kills the history state on Firefox
if (!history.state) {
replaceState(savedState, ''); // this restores the history state
if (intraPage){
window.dispatchEvent(new PopStateEvent('popstate' ));
if (intraPage) {
window.dispatchEvent(new PopStateEvent('popstate'));
}
}
} else {