Fix media open hotkey (#12546)

This commit is contained in:
Jeong Arm authored and Eugen Rochko committed 2019-12-05 00:50:51 +01:00
1 parent 04582e3c3e
commit 76adde4fe2
2 files changed
+3 -2

No files matched your search

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