Merge pull request #2350 from rparree/hash-problem

Fixed not bing able to follow same inner links twice with history:false
edit
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
1 changed files with 5 additions and 0 deletions

View File

@ -4296,7 +4296,12 @@
else if( config.hash ) { else if( config.hash ) {
window.history.replaceState(null, null, '#' + locationHash()); window.history.replaceState(null, null, '#' + locationHash());
} }
else {
window.location.hash = '';
} }
}
} }
/** /**