mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Fix drag & drop overlay not appearing on firefox (#1721)
This commit is contained in:
parent
485310a43c
commit
c5afe573da
@ -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 });
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user