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