bugfix navigator with query
This commit is contained in:
parent
7f8ffca589
commit
39954efef3
|
@ -123,7 +123,7 @@ xrf.navigator.init = () => {
|
|||
|
||||
window.addEventListener('popstate', function (event){
|
||||
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…
Reference in New Issue