|
|
@ -230,7 +230,7 @@ export default class UI extends React.PureComponent { |
|
|
|
this.dragTargets.push(e.target); |
|
|
|
} |
|
|
|
|
|
|
|
if (e.dataTransfer && e.dataTransfer.types.includes('Files')) { |
|
|
|
if (e.dataTransfer && Array.from(e.dataTransfer.types).includes('Files')) { |
|
|
|
this.setState({ draggingOver: true }); |
|
|
|
} |
|
|
|
} |
|
|
|