From aa659877beb959f1957b0fbf16761f79fabc62b9 Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 2 Mar 2015 13:55:30 -0800 Subject: [PATCH] Fix broken file input view --- js/views/file_input_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index 4bb367c9..7c1df5d6 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -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);