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 738324c commit 3ac2767Copy full SHA for 3ac2767
src/AjaxUploader.jsx
@@ -59,7 +59,8 @@ class AjaxUploader extends Component {
59
60
if (this.props.directory) {
61
traverseFileTree(
62
- e.dataTransfer.items,
+ Array.prototype.slice
63
+ .call(e.dataTransfer.items),
64
this.uploadFiles,
65
_file => attrAccept(_file, this.props.accept)
66
);
0 commit comments