Skip to content

Fix for issue #83: IE11 Array type error

Wes Rast requested to merge wes.rast/dropzone:master into master

The handleFiles function is relying on e.dataTransfer.files to contain an Array, when it actually contains the array-like "FileList" type. This means the Array.map function is missing, and is throwing an error. Fix corrects this by manually calling the Array.slice function to convert to a true array.

Edited by Wes Rast

Merge request reports

Loading