Skip to content

Commit

Permalink
HashBang double route bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwasner committed Nov 23, 2015
1 parent c26f42b commit 4d65c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/History.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ define(function(require) {
};
hist.sequence[position] = record;
var hashReplacement = url + '#@' + id;
hashReplacement = _lastHash = _shouldUseHashBang ? '!' + hashReplacement : hashReplacement;
location.hash = hashReplacement;
_lastHash = hashReplacement;
location.hash = _shouldUseHashBang ? '!' + hashReplacement : hashReplacement;
return record;
}

Expand Down

0 comments on commit 4d65c68

Please sign in to comment.