Skip to content

Commit fc5cda2

Browse files
committed
fix($browser.xhr): not convert 0 status to 200
1 parent 05ad1ce commit fc5cda2

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
@@ -126,7 +126,7 @@ function Browser(window, document, body, XHR, $log) {
126126
xhr.onreadystatechange = function() {
127127
if (xhr.readyState == 4) {
128128
// normalize IE bug (http://bugs.jquery.com/ticket/1450)
129-
var status = xhr.status == 1223 ? 204 : xhr.status || 200;
129+
var status = xhr.status == 1223 ? 204 : xhr.status;
130130
completeOutstandingRequest(callback, status, xhr.responseText, function(header) {
131131
header = lowercase(header);
132132

0 commit comments

Comments
 (0)