support dragging and dropping multiple files
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…
Reference in New Issue