Skip to content

Commit

Permalink
fix onerror BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Sep 4, 2014
1 parent f6c0a4f commit 633e7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avalon.modern.js
Expand Up @@ -3501,7 +3501,7 @@
}

function onerror(a, b) {
b && avalon.error(url + "对应资源不存在或没有开启 CORS")
!b && avalon.error(url + "对应资源不存在或没有开启 CORS")
setTimeout(function() {
head.removeChild(link)
})
Expand Down

0 comments on commit 633e7bb

Please sign in to comment.