support dragging and dropping multiple files

pull/1/head
ansuz 8 years ago
parent 8bee45d0f4
commit fe2fef5e4c

@ -361,7 +361,10 @@ define([
var dropped = e.originalEvent.dataTransfer.files;
counter = 0;
$label.removeClass('hovering');
handleFile(dropped[0]);
Array.prototype.slice.call(dropped).forEach(function (d) {
handleFile(d);
});
});
// we're in upload mode

Loading…
Cancel
Save