Ver código fonte

Fix boost to original audience not working on mobile (#11371)

master^2
ThibG 4 anos atrás
committed by Eugen Rochko
pai
commit
59fd622adc
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app/javascript/mastodon/containers/status_container.js

+ 1
- 1
app/javascript/mastodon/containers/status_container.js Ver arquivo

@@ -77,7 +77,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
},

onReblog (status, e) {
if (e.shiftKey || !boostModal) {
if ((e && e.shiftKey) || !boostModal) {
this.onModalReblog(status);
} else {
dispatch(openModal('BOOST', { status, onReblog: this.onModalReblog }));


Carregando…
Cancelar
Salvar