Skip to content

Commit

Permalink
Merge pull request mozilla-b2g#7256 from vingtetun/followups
Browse files Browse the repository at this point in the history
Bug 822232 followup. Missing '{'. r=me
  • Loading branch information
vingtetun committed Dec 31, 2012
2 parents 1eb1c65 + 9095e92 commit acfb004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/system/js/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ function reloadWindow(url) {
// This can be a malicious script. See bug 822232.
if (/^https?:/.test(url) == false) {
return;
}

document.location.replace(url);
}
Expand Down

0 comments on commit acfb004

Please sign in to comment.