From ed4015f919a0a634056fa48136200195dc076d1f Mon Sep 17 00:00:00 2001 From: lilia Date: Sun, 20 Dec 2015 22:16:54 -0800 Subject: [PATCH] Return early from previewImages for unsupported files // FREEBIE --- 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 28340f8f..48e02ae1 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -123,7 +123,7 @@ toast.$el.insertAfter(this.$el); toast.render(); this.deleteFiles(); - break; + return; } this.autoScale(file).then(function(blob) {