We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c36d8c commit 23bfecfCopy full SHA for 23bfecf
src/js/assets.js
@@ -263,7 +263,7 @@ var cachedAssetsManager = (function() {
263
var getTextFileFromURL = function(url, onLoad, onError) {
264
// https://github.com/gorhill/uMatrix/issues/15
265
var onResponseReceived = function() {
266
- if ( this.status < 200 || this.status >= 300 ) {
+ if ( this.status !== 0 && ( this.status < 200 || this.status >= 300 ) ) {
267
return onError.call(this);
268
}
269
// xhr for local files gives status 0, but actually succeeds
0 commit comments