about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/status/index.js
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2019-12-05 08:50:51 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-12-05 00:50:51 +0100
commit76adde4fe28377c7507a4f5380f1150d65de98eb (patch)
treeb3b5a80762979dfadb9db63757938c7fffcdc3be /app/javascript/mastodon/features/status/index.js
parent04582e3c3e7db716c32261583a956d889c438254 (diff)
Fix media open hotkey (#12546)
Diffstat (limited to 'app/javascript/mastodon/features/status/index.js')
-rw-r--r--app/javascript/mastodon/features/status/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/status/index.js b/app/javascript/mastodon/features/status/index.js
index ab468b5e8..6b18f34d1 100644
--- a/app/javascript/mastodon/features/status/index.js
+++ b/app/javascript/mastodon/features/status/index.js
@@ -282,7 +282,7 @@ class Status extends ImmutablePureComponent {
   }
 
   handleHotkeyOpenMedia = e => {
-    const { status } = this.props;
+    const status = this._properStatus();
 
     e.preventDefault();