dragging / dropping multiple files works
This commit is contained in:
parent
11398b3704
commit
0d8167b709
|
@ -50,8 +50,10 @@ $(function() {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
var files = e.dataTransfer.files;
|
||||
var fil = files[0];
|
||||
edgeQueue.addFile(fil);
|
||||
for (var i=0; i<files.length; i++) {
|
||||
var fil = files[i];
|
||||
edgeQueue.addFile(fil);
|
||||
}
|
||||
}, false);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user