Skip to content

Commit

Permalink
[fixed] Preserve original query with HashLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Dec 23, 2014
1 parent 2f19e63 commit 4e96256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/locations/HashLocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var HashLocation = {

replace: function (path) {
_actionType = LocationActions.REPLACE;
window.location.replace(window.location.pathname + '#' + Path.encode(path));
window.location.replace(window.location.pathname + window.location.search + '#' + Path.encode(path));
},

pop: function () {
Expand Down

0 comments on commit 4e96256

Please sign in to comment.