mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
ca6bb1f31e
commit
3bd6758e1c
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue