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

pull/1174/head
ThibG 2019-07-21 18:11:09 +02:00 committed by Eugen Rochko
parent 7de8c51873
commit 59fd622adc
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
}, },
onReblog (status, e) { onReblog (status, e) {
if (e.shiftKey || !boostModal) { if ((e && e.shiftKey) || !boostModal) {
this.onModalReblog(status); this.onModalReblog(status);
} else { } else {
dispatch(openModal('BOOST', { status, onReblog: this.onModalReblog })); dispatch(openModal('BOOST', { status, onReblog: this.onModalReblog }));