This commit is contained in:
Jose Gonzalez 2021-10-11 08:18:55 +02:00
parent aafa979b4a
commit 8bf19e348f
1 changed files with 1 additions and 1 deletions

View File

@ -2205,7 +2205,7 @@ if ( !$.support.boxShadow ) {
// the passed url may not yield the correct result
search = this.parseUrl( href ).search;
// TODO all this crap is terrible, clean it up
// TODO clean it up
if ( isPath ) {
// reject the hash if it's a path or it's just a dialog key
if( path.isPath( preservedHash ) || preservedHash.replace("#", "").indexOf( this.uiStateKey ) === 0) {