bugfix navigator with query
This commit is contained in:
parent
7f8ffca589
commit
39954efef3
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ xrf.navigator.init = () => {
|
||||||
|
|
||||||
window.addEventListener('popstate', function (event){
|
window.addEventListener('popstate', function (event){
|
||||||
if( !xrf.navigator.updateHash.active ){ // ignore programmatic hash updates (causes infinite recursion)
|
if( !xrf.navigator.updateHash.active ){ // ignore programmatic hash updates (causes infinite recursion)
|
||||||
xrf.navigator.to( document.location.href.replace(/\?/,'') )
|
xrf.navigator.to( document.location.href.replace(/.*\?/,'') )
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue