Skip to content

Commit 131578b

Browse files
authored
Update quikr.js
1 parent bec80b8 commit 131578b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

quikr.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,16 @@
202202
}
203203
} : img.onload;
204204

205+
if(!options["404"]){
206+
//console.error("NO OPTIONS=",el, options);
207+
}
205208
img.onerror = img.onerror || function(){
206209
el.setAttribute('quikr-status','error');
207210
el.setAttribute('quikr-img-error',img.src);
208211
if(options["404"]){
209212
el.src = options["404"];
213+
} else {
214+
//console.error("NO OPTIONS==",el, options);
210215
}
211216
};
212217
var onerror = options.error || options;

0 commit comments

Comments
 (0)