support dragging and dropping multiple files
This commit is contained in:
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…
x
Reference in New Issue
Block a user