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