From c98ec91cab1cc6978b8be9684c06edcd004d74cc Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 18 Apr 2017 16:51:56 -0700 Subject: [PATCH] Fix tests again --- js/views/attachment_view.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/views/attachment_view.js b/js/views/attachment_view.js index dacd65a93..8a0f8e261 100644 --- a/js/views/attachment_view.js +++ b/js/views/attachment_view.js @@ -93,11 +93,10 @@ view.$el.trigger('show'); break; - case 'video': + default: if (this.view instanceof MediaView) { - break; + return; } - default: this.saveFile(); } },