Fix broken file input view
This commit is contained in:
parent
dcc1588219
commit
aa659877be
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ var Whisper = Whisper || {};
|
||||||
var promises = [];
|
var promises = [];
|
||||||
var files = this.$input.prop('files');
|
var files = this.$input.prop('files');
|
||||||
for (var i = 0; i < files.length; i++) {
|
for (var i = 0; i < files.length; i++) {
|
||||||
promises.push(readFile(files[i]));
|
promises.push(this.readFile(files[i]));
|
||||||
}
|
}
|
||||||
this.clearForm();
|
this.clearForm();
|
||||||
return Promise.all(promises);
|
return Promise.all(promises);
|
||||||
|
|
Loading…
Reference in a new issue