Merge pull request #2350 from rparree/hash-problem

Fixed not bing able to follow same inner links twice with history:false
This commit is contained in:
Hakim El Hattab 2019-03-21 09:03:50 +01:00 committed by GitHub
commit ae556d0844
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4296,8 +4296,13 @@
else if( config.hash ) { else if( config.hash ) {
window.history.replaceState(null, null, '#' + locationHash()); window.history.replaceState(null, null, '#' + locationHash());
} }
else {
window.location.hash = '';
}
} }
} }
/** /**
* Retrieves the h/v location and fragment of the current, * Retrieves the h/v location and fragment of the current,