Fixed styling + removed log line
This commit is contained in:
parent
1995c16013
commit
4b5e8d66b8
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue