diff --git a/Web/static/js/router.js b/Web/static/js/router.js index 4882926a..fa4fdbda 100644 --- a/Web/static/js/router.js +++ b/Web/static/js/router.js @@ -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, + }) + } })