Skip to content

Commit

Permalink
Reset preventLocationChanged state after use it
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmoschini committed Aug 7, 2012
1 parent 667b5b5 commit a48bd8e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5377,6 +5377,8 @@ function $LocationProvider(){
$location.$$replace = false;
if (!$location.$$preventLocationChangedEvent) {
afterLocationChange(oldUrl);
} else {
$location.$$preventLocationChangedEvent = false;
}
}
});
Expand Down

0 comments on commit a48bd8e

Please sign in to comment.