Skip to content

Commit

Permalink
Fixed problem where the initial hash was stripped.
Browse files Browse the repository at this point in the history
For #254.
  • Loading branch information
tmeasday committed Nov 8, 2013
1 parent debfe6a commit ff27432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/location.js
Expand Up @@ -116,7 +116,7 @@ IronLocation.start = function () {
// 2. Users can look at the state to tell if the history.back() will stay
// inside the app (this is important for mobile apps).
if (history.replaceState)
history.replaceState({initial: true}, null, location.pathname + location.search)
history.replaceState({initial: true}, null, location.pathname + location.search + location.hash);
};

IronLocation.stop = function () {
Expand Down

0 comments on commit ff27432

Please sign in to comment.