瀏覽代碼

Fix fav/boosts hotkeys not working on detailed statuses (#9006)

master
ThibG 5 年之前
committed by Eugen Rochko
父節點
當前提交
007f7690fa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/javascript/mastodon/features/status/index.js

+ 1
- 1
app/javascript/mastodon/features/status/index.js 查看文件

@@ -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…
取消
儲存