Fix broken file input view

This commit is contained in:
lilia 2015-03-02 13:55:30 -08:00
parent dcc1588219
commit aa659877be

View file

@ -68,7 +68,7 @@ var Whisper = Whisper || {};
var promises = [];
var files = this.$input.prop('files');
for (var i = 0; i < files.length; i++) {
promises.push(readFile(files[i]));
promises.push(this.readFile(files[i]));
}
this.clearForm();
return Promise.all(promises);