We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f7d4b0 + 7598f8a commit b4f606eCopy full SHA for b4f606e
1 file changed
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