Skip to content
Snippets Groups Projects
Commit 59fd622a authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

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

parent 7de8c518
No related branches found
No related tags found
No related merge requests found
......@@ -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 }));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment