Spaces:
Running
Running
Update js_free-online-image-upscaler.js
Browse files
js_free-online-image-upscaler.js
CHANGED
@@ -2813,6 +2813,7 @@
|
|
2813 |
},
|
2814 |
loadImage: function(e, t, r) {
|
2815 |
var n = new Image;
|
|
|
2816 |
return n.setAttribute("crossOrigin", "anonymous"), n.crossOrigin = "anonymous", n.src = e, n.onload = function() {
|
2817 |
t && t(n)
|
2818 |
}, n.onerror = function() {
|
|
|
2813 |
},
|
2814 |
loadImage: function(e, t, r) {
|
2815 |
var n = new Image;
|
2816 |
+
console.log(t);
|
2817 |
return n.setAttribute("crossOrigin", "anonymous"), n.crossOrigin = "anonymous", n.src = e, n.onload = function() {
|
2818 |
t && t(n)
|
2819 |
}, n.onerror = function() {
|