Open smvilar opened 8 years ago
When dropping an image (from another tab) in Firefox, it sends 'Files' in the dataTransfer.types array but dataTransfer.files value is null.
'Files'
dataTransfer.types
dataTransfer.files
null
This change should prevent a type from being recognized as such if there's no value returning from the getData function for that type.
getData
Closes #29
+1
When dropping an image (from another tab) in Firefox, it sends
'Files'
in thedataTransfer.types
array butdataTransfer.files
value isnull
.This change should prevent a type from being recognized as such if there's no value returning from the
getData
function for that type.Closes #29