Fixed race condition in instant loading

This commit is contained in:
squidfunk
2020-03-06 10:12:20 +01:00
parent 21e9396db0
commit 80f1d3e37b
2 changed files with 12 additions and 10 deletions

View File

@@ -113,11 +113,6 @@ export function setupInstantLoading(
)
.subscribe(location$)
/* History: dispatch internal link */
push$.subscribe(({ url }) => {
history.pushState({}, "", url.toString())
})
/* History: debounce update of viewport offset */
viewport$
.pipe(