Ver código fonte

Fix fav/boosts hotkeys not working on detailed statuses (#9006)

master
ThibG 5 anos atrás
committed by Eugen Rochko
pai
commit
007f7690fa
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app/javascript/mastodon/features/status/index.js

+ 1
- 1
app/javascript/mastodon/features/status/index.js Ver arquivo

@@ -181,7 +181,7 @@ class Status extends ImmutablePureComponent {
if (status.get('reblogged')) {
this.props.dispatch(unreblog(status));
} else {
if (e.shiftKey || !boostModal) {
if ((e && e.shiftKey) || !boostModal) {
this.handleModalReblog(status);
} else {
this.props.dispatch(openModal('BOOST', { status, onReblog: this.handleModalReblog }));


Carregando…
Cancelar
Salvar