Ver código fonte

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

master^2
ThibG 5 anos atrás
committed by Eugen Rochko
pai
commit
5bcd98172c
1 arquivos alterados com 5 adições e 0 exclusões
  1. +5
    -0
      app/javascript/mastodon/components/status.js

+ 5
- 0
app/javascript/mastodon/components/status.js Ver arquivo

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


Carregando…
Cancelar
Salvar