Fix Open handler in quote media

This commit is contained in:
noellabo 2020-12-08 22:58:24 +09:00
parent 4d8bcaf5f3
commit e3b75b17f0

View file

@ -583,7 +583,7 @@ class Status extends ImmutablePureComponent {
media={quote_status.get('media_attachments')}
sensitive={quote_status.get('sensitive')}
height={110}
onOpenMedia={this.props.onOpenMedia}
onOpenMedia={this.handleOpenMedia}
cacheWidth={this.props.cacheMediaWidth}
defaultWidth={this.props.cachedMediaWidth}
visible={this.state.showQuoteMedia}