From 93eb6671c6cfa2bf107faf37d4461ede7f3524a3 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 7 Nov 2016 15:04:27 +0100 Subject: Linting fixes. --- src/components/attachment/attachment.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/components/attachment/attachment.js') diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 85d924d0..99958589 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -11,16 +11,16 @@ const Attachment = { type () { let type = 'unknown' - if(this.attachment.mimetype.match(/text\/html/)) { - type = 'html'; + if (this.attachment.mimetype.match(/text\/html/)) { + type = 'html' } - if(this.attachment.mimetype.match(/image/)) { - type = 'image'; + if (this.attachment.mimetype.match(/image/)) { + type = 'image' } - if(this.attachment.mimetype.match(/video\/(webm|mp4)/)) { - type = 'video'; + if (this.attachment.mimetype.match(/video\/(webm|mp4)/)) { + type = 'video' }; return type -- cgit v1.2.3-70-g09d2