Fix fav/boosts hotkeys not working on detailed statuses (#9006)
parent
3d51268c4c
commit
b420d15a9b
|
@ -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 }));
|
||||
|
|
Loading…
Reference in New Issue