Fix drag & drop overlay not appearing on firefox (#1721)

lolsob-rspec
Eugen 2017-04-13 22:21:34 +02:00 committed by GitHub
parent 12df378904
commit b942187299
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ const UI = React.createClass({
this.dragTargets.push(e.target);
}
if (e.dataTransfer && e.dataTransfer.files.length > 0) {
if (e.dataTransfer && e.dataTransfer.items.length > 0) {
this.setState({ draggingOver: true });
}
},