mirror of
https://github.com/openvk/openvk
synced 2025-06-07 21:00:33 +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
|
||||
}*/
|
||||
|
||||
window.router.route({
|
||||
url: location.href,
|
||||
push_state: false,
|
||||
})
|
||||
if(e.state != null) {
|
||||
window.router.route({
|
||||
url: location.href,
|
||||
push_state: false,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue