diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-07-05 16:20:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 16:20:09 -0400 |
commit | dd78a3f1fa416cc9b16bf8d4b80b5f9bb10c528a (patch) | |
tree | 21e53db607dba1aa0d44ac8d9b77297bed67577a /webapp/components/post_view/post_body_additional_content.jsx | |
parent | 039271394ee3aed5b265c6c5c5e1f8d979478970 (diff) | |
download | chat-dd78a3f1fa416cc9b16bf8d4b80b5f9bb10c528a.tar.gz chat-dd78a3f1fa416cc9b16bf8d4b80b5f9bb10c528a.tar.bz2 chat-dd78a3f1fa416cc9b16bf8d4b80b5f9bb10c528a.zip |
Fix some scrolling issues (#6851)
Diffstat (limited to 'webapp/components/post_view/post_body_additional_content.jsx')
-rw-r--r-- | webapp/components/post_view/post_body_additional_content.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/post_body_additional_content.jsx b/webapp/components/post_view/post_body_additional_content.jsx index bf8380912..107c75778 100644 --- a/webapp/components/post_view/post_body_additional_content.jsx +++ b/webapp/components/post_view/post_body_additional_content.jsx @@ -153,7 +153,7 @@ export default class PostBodyAdditionalContent extends React.PureComponent { } const link = Utils.extractFirstLink(this.props.post.message); - if (link && Utils.isFeatureEnabled(Constants.PRE_RELEASE_FEATURES.EMBED_PREVIEW)) { + if (link && Utils.isFeatureEnabled(Constants.PRE_RELEASE_FEATURES.EMBED_PREVIEW) && global.window.mm_config.EnableLinkPreviews === 'true') { return ( <PostAttachmentOpenGraph link={link} |