Skip to content

Commit

Permalink
Fix the Open handler for PreviewCard (#15305)
Browse files Browse the repository at this point in the history
  • Loading branch information
noellabo authored Dec 8, 2020
1 parent 0b43732 commit 765626a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class Status extends ImmutablePureComponent {
} else if (status.get('spoiler_text').length === 0 && status.get('card')) {
media = (
<Card
onOpenMedia={this.props.onOpenMedia}
onOpenMedia={this.handleOpenMedia}
card={status.get('card')}
compact
cacheWidth={this.props.cacheMediaWidth}
Expand Down

0 comments on commit 765626a

Please sign in to comment.