Browse Source

Fix the Open handler for PreviewCard (#15305)

master
Takeshi Umeda 3 years ago
committed by GitHub
parent
commit
765626a3a7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/components/status.js

+ 1
- 1
app/javascript/mastodon/components/status.js View File

@ -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}

Loading…
Cancel
Save