summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-06-21 21:21:40 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-06-21 21:21:40 -0400
commiteb76e61534742b126a35afe12da1deb9c4f8a7d6 (patch)
treefa91f8b23fb5fc0abf20f885c923ecbf39494327 /webapp/components/post_view
parentdd341de0ac091a525744fff69ed79f11700690e4 (diff)
downloadchat-eb76e61534742b126a35afe12da1deb9c4f8a7d6.tar.gz
chat-eb76e61534742b126a35afe12da1deb9c4f8a7d6.tar.bz2
chat-eb76e61534742b126a35afe12da1deb9c4f8a7d6.zip
stopped youtube videos upon collapsing (#3388)
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r--webapp/components/post_view/components/post_body_additional_content.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/components/post_view/components/post_body_additional_content.jsx b/webapp/components/post_view/components/post_body_additional_content.jsx
index d7cbe5d6c..0ab015ced 100644
--- a/webapp/components/post_view/components/post_body_additional_content.jsx
+++ b/webapp/components/post_view/components/post_body_additional_content.jsx
@@ -81,6 +81,7 @@ export default class PostBodyAdditionalContent extends React.Component {
<YoutubeVideo
channelId={this.props.post.channel_id}
link={link}
+ show={this.state.embedVisible}
/>
);
}