diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-13 22:21:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 22:21:34 +0200 |
commit | c5afe573da39aff73a309d95d3a8ce492a73d3a6 (patch) | |
tree | 2281d02105efa7cd129cd76002b6bd87ac4e25aa /app/assets/javascripts/components | |
parent | 485310a43c23ecaf2670b8a7c9203110ea4fc7dc (diff) |
Fix drag & drop overlay not appearing on firefox (#1721)
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r-- | app/assets/javascripts/components/features/ui/index.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/index.jsx b/app/assets/javascripts/components/features/ui/index.jsx index 89fb82568..5c7cc6ef4 100644 --- a/app/assets/javascripts/components/features/ui/index.jsx +++ b/app/assets/javascripts/components/features/ui/index.jsx @@ -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 }); } }, |