forked from cybrespace/mastodon
Fix clicking on the left side of a conversation not marking it as read (#11041)
This commit is contained in:
parent
62852252dd
commit
5bcd98172c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue