mirror of
https://github.com/openvk/openvk
synced 2025-06-07 22:59:58 +03:00
fix: router recursion
This commit is contained in:
parent
626770ef0c
commit
f843132d5e
1 changed files with 6 additions and 4 deletions
|
@ -401,8 +401,10 @@ window.addEventListener('popstate', (e) => {
|
||||||
return
|
return
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
window.router.route({
|
if(e.state != null) {
|
||||||
url: location.href,
|
window.router.route({
|
||||||
push_state: false,
|
url: location.href,
|
||||||
})
|
push_state: false,
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue