Skip to content

Commit b4f382a

Browse files
ClearlyClairehiyuki2578
authored andcommitted
Fix boost to original audience not working on mobile (mastodon#11371)
1 parent 9080074 commit b4f382a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/javascript/mastodon/containers/status_container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
7777
},
7878

7979
onReblog (status, e) {
80-
if (e.shiftKey || !boostModal) {
80+
if ((e && e.shiftKey) || !boostModal) {
8181
this.onModalReblog(status);
8282
} else {
8383
dispatch(openModal('BOOST', { status, onReblog: this.onModalReblog }));

0 commit comments

Comments
 (0)