Skip to content
Browse files

Navigation: Path: Do not append the preserved hash when going to a pa…

…th, unless the path has such a hash
  • Loading branch information...
1 parent e70b04f commit c99a06785e93ff008dbbfddce7b6e857dfefd92f @gabrielschulhof gabrielschulhof committed
Showing with 0 additions and 4 deletions.
  1. +0 −4 js/navigation/path.js
View
4 js/navigation/path.js
@@ -295,10 +295,6 @@ define([
// TODO all this crap is terrible, clean it up
if ( isPath ) {
- // Get a hash where possible and, as long as it's not a path
- // preserve it on the current url
- preservedHash = (uri.hash || path.parseLocation().hash);
-
// 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) {
preservedHash = "";

0 comments on commit c99a067

Please sign in to comment.
Something went wrong with that request. Please try again.