fixed dropzone to trigger dragexit on drop

This commit is contained in:
bill bittner 2017-10-25 12:45:53 -07:00
parent 6cfa841b8b
commit 33822e71a7

View file

@ -13,6 +13,7 @@ function triggerFileChooser(fileInputId, event) {
} }
function drop_handler(event) { function drop_handler(event) {
dragexit_handler(event)
event.preventDefault(); event.preventDefault();
// if dropped items aren't files, reject them // if dropped items aren't files, reject them
var dt = event.dataTransfer; var dt = event.dataTransfer;