diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-12-04 12:28:46 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-12-04 12:28:46 -0500 |
commit | 975074b2ae2692f596edb263bb27727b43f33489 (patch) | |
tree | 3ed8a698464cd87da20da04201fa0698ad4789d0 /web/react/components/post_body_additional_content.jsx | |
parent | 622fbc67402fe36bc01163a5a80643a15758e094 (diff) | |
download | chat-975074b2ae2692f596edb263bb27727b43f33489.tar.gz chat-975074b2ae2692f596edb263bb27727b43f33489.tar.bz2 chat-975074b2ae2692f596edb263bb27727b43f33489.zip |
Fix embeds and add default fixed height
Diffstat (limited to 'web/react/components/post_body_additional_content.jsx')
-rw-r--r-- | web/react/components/post_body_additional_content.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/react/components/post_body_additional_content.jsx b/web/react/components/post_body_additional_content.jsx index e19bf51eb..7e6f3f037 100644 --- a/web/react/components/post_body_additional_content.jsx +++ b/web/react/components/post_body_additional_content.jsx @@ -32,6 +32,7 @@ export default class PostBodyAdditionalContent extends React.Component { return ( <PostAttachmentOEmbed key={'post_body_additional_content' + this.props.post.id} + provider={this.props.provider} link={link} /> ); @@ -68,5 +69,6 @@ export default class PostBodyAdditionalContent extends React.Component { } PostBodyAdditionalContent.propTypes = { - post: React.PropTypes.object.isRequired -};
\ No newline at end of file + post: React.PropTypes.object.isRequired, + provider: React.PropTypes.object +}; |