diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index f34f67e4..0362c84c 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -85,7 +85,8 @@ var Whisper = Whisper || {}; this.thumb.remove(); }, - deleteFiles: function() { + deleteFiles: function(e) { + if (e) { e.stopPropagation(); } this.clearForm(); this.$input.wrap('