Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($browser): prevent infinite $digest from no trailing slash in IE9 #11585

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/ng/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ function Browser(window, document, $log, $sniffer) {
// Do the assignment again so that those two variables are referentially identical.
lastHistoryState = cachedState;
} else {
if (!sameBase) {
reloadLocation = url;
}
reloadLocation = url;
if (replace) {
location.replace(url);
} else if (!sameBase) {
Expand Down