diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-03-20 16:58:09 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-03-20 16:58:09 -0400 |
commit | 886621824332006c6a5e8f0ef14804ef669960ff (patch) | |
tree | 730e60e5752dafa633d1234b58d610b0db9eb0a4 /webapp/components/post_view | |
parent | 7caab35cfab461a243eee0abe8d858f554ac0519 (diff) | |
download | chat-886621824332006c6a5e8f0ef14804ef669960ff.tar.gz chat-886621824332006c6a5e8f0ef14804ef669960ff.tar.bz2 chat-886621824332006c6a5e8f0ef14804ef669960ff.zip |
Revert "PLT-3181 Added crossorigin='anonymous' to all external images (#5774)" (#5815)
This reverts commit 24848f9d6a92eb1e09189c358636fd1ba32fa6d6.
Diffstat (limited to 'webapp/components/post_view')
3 files changed, 0 insertions, 6 deletions
diff --git a/webapp/components/post_view/components/post_attachment.jsx b/webapp/components/post_view/components/post_attachment.jsx index 1b2cddcd6..57335b94a 100644 --- a/webapp/components/post_view/components/post_attachment.jsx +++ b/webapp/components/post_view/components/post_attachment.jsx @@ -184,7 +184,6 @@ class PostAttachment extends React.Component { author.push( <img className='attachment__author-icon' - crossOrigin='anonymous' src={data.author_icon} key={'attachment__author-icon'} height='14' @@ -258,7 +257,6 @@ class PostAttachment extends React.Component { image = ( <img className='attachment__image' - crossOrigin='anonymous' src={data.image_url} /> ); @@ -271,7 +269,6 @@ class PostAttachment extends React.Component { className='attachment__thumb-container' > <img - crossOrigin='anonymous' src={data.thumb_url} /> </div> diff --git a/webapp/components/post_view/components/post_attachment_opengraph.jsx b/webapp/components/post_view/components/post_attachment_opengraph.jsx index 13171202a..da85905c0 100644 --- a/webapp/components/post_view/components/post_attachment_opengraph.jsx +++ b/webapp/components/post_view/components/post_attachment_opengraph.jsx @@ -193,7 +193,6 @@ export default class PostAttachmentOpenGraph extends React.Component { element = this.wrapInSmallImageContainer( <img className={'attachment__image attachment__image--openraph'} - crossOrigin='anonymous' src={imageUrl} ref={(img) => { this.smallImageElement = img; diff --git a/webapp/components/post_view/components/post_image.jsx b/webapp/components/post_view/components/post_image.jsx index 6fe954e99..9a761bfca 100644 --- a/webapp/components/post_view/components/post_image.jsx +++ b/webapp/components/post_view/components/post_image.jsx @@ -67,7 +67,6 @@ export default class PostImageEmbed extends React.Component { return ( <img className='img-div placeholder' - crossOrigin='anonymous' height='500px' /> ); @@ -76,7 +75,6 @@ export default class PostImageEmbed extends React.Component { return ( <img className='img-div' - crossOrigin='anonymous' src={this.props.link} /> ); |