mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Update upload.js
This commit is contained in:
parent
69613e25b1
commit
7222112e59
@ -18,7 +18,7 @@
|
||||
if(files[++i]){ upload.drop(files,i) }
|
||||
return false;
|
||||
}
|
||||
reader = new FileReader();
|
||||
var reader = new FileReader();
|
||||
reader.onload = function(e){
|
||||
cb({file: files[i], event: e, id: i}, upload);
|
||||
if(files[++i]){ upload.drop(files,i) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user