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 8f7d4b0 commit 7598f8aCopy full SHA for 7598f8a
load-image.js
@@ -24,7 +24,7 @@
24
oUrl;
25
img.onerror = callback;
26
img.onload = function () {
27
- if (oUrl && !options.noRevoke) {
+ if (oUrl && !(typeof(options)!="undefined" && options.noRevoke)) {
28
loadImage.revokeObjectURL(oUrl);
29
}
30
callback(loadImage.scale(img, options));
0 commit comments