Skip to content

Commit

Permalink
fix: missing words
Browse files Browse the repository at this point in the history
  • Loading branch information
orange4glace committed Feb 12, 2021
1 parent 9028a3f commit 864fbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Router.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function push(location) {
await tick()
// Note: this will include scroll state in history even when restoreScrollState is false
history.replaceState({...history.state, __svelte_spa_router_scrollX: window.scrollX, __svelte_spa_router_: window.scrollY}, undefined, undefined)
history.replaceState({...history.state, __svelte_spa_router_scrollX: window.scrollX, __svelte_spa_router_scrollY: window.scrollY}, undefined, undefined)
window.location.hash = (location.charAt(0) == '#' ? '' : '#') + location
}
Expand Down

0 comments on commit 864fbe5

Please sign in to comment.