@capillarytech/creatives-library 3.9.8 → 3.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -231,7 +231,7 @@ export class Gallery extends React.Component { // eslint-disable-line react/pref
|
|
|
231
231
|
e.preventDefault();
|
|
232
232
|
const _URL = window.URL || window.webkitURL;
|
|
233
233
|
for (const file in files) {
|
|
234
|
-
if (
|
|
234
|
+
if (files.hasOwnProperty(file)) {
|
|
235
235
|
const img = new Image();
|
|
236
236
|
const that = this;
|
|
237
237
|
img.src = _URL.createObjectURL(files[file]);
|