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

master
ThibG 5 years ago committed by Eugen Rochko
parent 7de8c51873
commit 59fd622adc
  1. 2
      app/javascript/mastodon/containers/status_container.js

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

Loading…
Cancel
Save