1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00

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

This commit is contained in:
ThibG 2019-07-21 18:11:09 +02:00 committed by Eugen Rochko
parent 7de8c51873
commit 59fd622adc

View File

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