Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 367df82

Browse files
committed
Remove bad status check in isSuccess
1 parent 275a3b0 commit 367df82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-ajax.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236

237237
isSuccess: function(xhr) {
238238
var status = xhr.status || 0;
239-
return !status || (status >= 200 && status < 300);
239+
return (status >= 200 && status < 300);
240240
},
241241

242242
processResponse: function(xhr) {

0 commit comments

Comments
 (0)