Browse Source

[Glitch] Add embed_url to preview cards

Port front-end changes from c083816c24 to glitch-soc
closed-social-glitch-2
Thibaut Girka 6 years ago
committed by ThibG
parent
commit
49eaf72faf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/features/status/components/card.js

+ 1
- 1
app/javascript/flavours/glitch/features/status/components/card.js View File

@ -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…
Cancel
Save