Skip to content

Commit

Permalink
Fix fav/boosts hotkeys not working on detailed statuses (#9006)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and Gargron committed Oct 18, 2018
1 parent f8c1b32 commit 007f769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/features/status/index.js
Expand Up @@ -181,7 +181,7 @@ class Status extends ImmutablePureComponent {
if (status.get('reblogged')) {
this.props.dispatch(unreblog(status));
} else {
if (e.shiftKey || !boostModal) {
if ((e && e.shiftKey) || !boostModal) {
this.handleModalReblog(status);
} else {
this.props.dispatch(openModal('BOOST', { status, onReblog: this.handleModalReblog }));
Expand Down

0 comments on commit 007f769

Please sign in to comment.