diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2020-12-08 20:07:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 12:07:54 +0100 |
commit | 765626a3a766ce212e73a1a51f6a048cc19ffc63 (patch) | |
tree | 2bf4d733385a600b205f1ad499d212e71558d766 /app/javascript | |
parent | 0b437325dc93a1d28202b5ff30eaafc9b4e571b7 (diff) |
Fix the Open handler for PreviewCard (#15305)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/components/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 18e0e87c8..d9e7347f8 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -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} |