forked from treehouse/mastodon
[Glitch] Add embed_url to preview cards
Port front-end changes from c083816c24
to glitch-soc
rebase/4.0.0rc2
parent
324ce93368
commit
49eaf72faf
|
@ -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')}
|
||||
|
|
Loading…
Reference in New Issue