From 4b5e8d66b861e410367d0b3177994d0db8d9f1ca Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Thu, 2 Mar 2017 13:39:56 +0000 Subject: [PATCH] Fixed styling + removed log line --- src/components/views/messages/MImageBody.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/messages/MImageBody.js b/src/components/views/messages/MImageBody.js index 80ef0dc06d..ab163297d7 100644 --- a/src/components/views/messages/MImageBody.js +++ b/src/components/views/messages/MImageBody.js @@ -74,7 +74,8 @@ module.exports = React.createClass({ return ( content && content.info && - content.info.mimetype === "image/gif"); + content.info.mimetype === "image/gif" + ); }, onImageEnter: function(e) { @@ -104,9 +105,8 @@ module.exports = React.createClass({ _getThumbUrl: function() { const content = this.props.mxEvent.getContent(); - console.log(content); if (content.file !== undefined) { - // Don't use the thumbnail for client's wishing to autoplay gifs. + // Don't use the thumbnail for clients wishing to autoplay gifs. if (this.state.decryptedThumbnailUrl) { return this.state.decryptedThumbnailUrl; }