Skip to content
Browse files

Merge pull request #4073 from gabrielschulhof/fix-dialog-double-hash

[navigation] When showing a dialog, do not append dialogHashKey if the U... [1.1.1]
  • Loading branch information...
2 parents 28407c9 + 7966179 commit d3d1417c16adc526c19a5a635de7a76771bb6092 @gseguin gseguin committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.navigation.js
View
2 js/jquery.mobile.navigation.js
@@ -1042,7 +1042,7 @@ define( [
// be an empty string. Moving the undefined -> empty string back into
// urlHistory.addNew seemed imprudent given undefined better represents
// the url state
- url = ( active.url || "" ) + dialogHashKey;
+ url = ( active.url || "" ).replace(dialogHashKey, "") + dialogHashKey;
}
// Set the location hash.

0 comments on commit d3d1417

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