From: ThibG Date: Mon, 10 Jun 2019 17:27:10 +0000 (+0200) Subject: Fix clicking on the left side of a conversation not marking it as read (#11041) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=5bcd98172c2d0ec4827e396a3648eb1e94634c55;p=mastodon.git Fix clicking on the left side of a conversation not marking it as read (#11041) --- diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index a795b8ce9..aa5e870dc 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -171,6 +171,11 @@ class Status extends ImmutablePureComponent { } handleExpandClick = (e) => { + if (this.props.onClick) { + this.props.onClick(); + return; + } + if (e.button === 0) { if (!this.context.router) { return;