Update Image Thumbnails

This commit is contained in:
LSvekis 2021-07-02 11:29:16 -04:00 committed by GitHub
parent 3f681bece8
commit 2942e72f3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@
img.file = file;
output.appendChild(img);
const reader = new FileReader();
reader.onload = (function (myImg) { return function (e) { myImg.src = e.target.result; }; })(img);
reader.onload = (function (myImg) { return function (ele) { myImg.src = ele.target.result; }; })(img);
reader.readAsDataURL(file);
}
}