提交 dad14bf3 编写于 作者: D David Graham

Inline IE9 bogus status check.

上级 7ac990f7
......@@ -160,10 +160,7 @@
var xhr = new XMLHttpRequest()
xhr.onload = function() {
var status = xhr.status
if (status === 1223) {
status = 204
}
var status = (xhr.status === 1223) ? 204 : xhr.status
if (status < 100 || status > 599) {
reject()
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册