fix router recursion error

This commit is contained in:
mrilyew 2025-05-24 22:03:06 +03:00
parent 074bdec314
commit 800ad5d7b8

View file

@ -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,
})
}
}) })