gearheads
/
mastodon
Archived
2
0
Fork 0

Fix media open hotkey (#12546)

gh/stable
Jeong Arm 2019-12-05 08:50:51 +09:00 committed by Eugen Rochko
parent 04582e3c3e
commit 76adde4fe2
2 changed files with 3 additions and 2 deletions

View File

@ -215,7 +215,8 @@ class Status extends ImmutablePureComponent {
} }
handleHotkeyOpenMedia = e => { handleHotkeyOpenMedia = e => {
const { status, onOpenMedia, onOpenVideo } = this.props; const { onOpenMedia, onOpenVideo } = this.props;
const status = this._properStatus();
e.preventDefault(); e.preventDefault();

View File

@ -282,7 +282,7 @@ class Status extends ImmutablePureComponent {
} }
handleHotkeyOpenMedia = e => { handleHotkeyOpenMedia = e => {
const { status } = this.props; const status = this._properStatus();
e.preventDefault(); e.preventDefault();