mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-12 02:32:55 -05:00
[Glitch] Add embed_url to preview cards
Port front-end changes from c083816c2479dcdfa6674c47a75a8293bf64a947 to glitch-soc
This commit is contained in:
parent
324ce93368
commit
49eaf72faf
@ -101,7 +101,7 @@ export default class Card extends React.PureComponent {
|
|||||||
onClick={this.handlePhotoClick}
|
onClick={this.handlePhotoClick}
|
||||||
role='button'
|
role='button'
|
||||||
tabIndex='0'
|
tabIndex='0'
|
||||||
src={card.get('url')}
|
src={card.get('embed_url')}
|
||||||
alt={card.get('title')}
|
alt={card.get('title')}
|
||||||
width={card.get('width')}
|
width={card.get('width')}
|
||||||
height={card.get('height')}
|
height={card.get('height')}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user