diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-09-10 17:49:45 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-09-10 19:53:55 +0200 |
commit | 49eaf72faf5b8b6f574a759a990c230f82c3b891 (patch) | |
tree | 53e9df62ffd98379f6e7907986ce74567db913cc /app/javascript/flavours | |
parent | 324ce93368bbac88a5b53083c8932ec175450f55 (diff) |
[Glitch] Add embed_url to preview cards
Port front-end changes from c083816c2479dcdfa6674c47a75a8293bf64a947 to glitch-soc
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/features/status/components/card.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/status/components/card.js b/app/javascript/flavours/glitch/features/status/components/card.js index 680bf63ab..d3e322c36 100644 --- a/app/javascript/flavours/glitch/features/status/components/card.js +++ b/app/javascript/flavours/glitch/features/status/components/card.js @@ -101,7 +101,7 @@ export default class Card extends React.PureComponent { onClick={this.handlePhotoClick} role='button' tabIndex='0' - src={card.get('url')} + src={card.get('embed_url')} alt={card.get('title')} width={card.get('width')} height={card.get('height')} |