We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c57fc commit c7a4d89Copy full SHA for c7a4d89
js/load-image.js
@@ -34,7 +34,7 @@
34
* @param {Error} err Error object
35
*/
36
function fetchBlobCallback(blob, err) {
37
- if (err) console.log(err) // eslint-disable-line no-console
+ if (err && $.console) console.log(err) // eslint-disable-line no-console
38
if (blob && loadImage.isInstanceOf('Blob', blob)) {
39
// eslint-disable-next-line no-param-reassign
40
file = blob
0 commit comments