1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00

Fix clicking on the left side of a conversation not marking it as read (#11041)

This commit is contained in:
ThibG 2019-06-10 19:27:10 +02:00 committed by Eugen Rochko
parent 62852252dd
commit 5bcd98172c

View File

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