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

Commit b0eb831

Browse files
committed
fix($browser.xhr): not convert 0 status to 200
1 parent 7f0b97e commit b0eb831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function Browser(window, document, body, XHR, $log) {
122122
xhr.onreadystatechange = function() {
123123
if (xhr.readyState == 4) {
124124
// normalize IE bug (http://bugs.jquery.com/ticket/1450)
125-
var status = xhr.status == 1223 ? 204 : xhr.status || 200;
125+
var status = xhr.status == 1223 ? 204 : xhr.status;
126126
completeOutstandingRequest(callback, status, xhr.responseText);
127127
}
128128
};

0 commit comments

Comments
 (0)