about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2021-10-07 22:05:24 +0900
committerClaire <claire.github-309c@sitedethib.com>2021-10-07 23:40:35 +0200
commit022006577027ca040f4411489821f2e3311f0db6 (patch)
treec67527cbffb4d7a26d794f5c0d54a6f943b0ef97 /app/javascript/flavours/glitch
parentebb4de7d3e01f59d0eeb55d9d398875ff3266211 (diff)
Fix status open hotkey
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/components/status.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js
index 72d59f55a..02ff9ab28 100644
--- a/app/javascript/flavours/glitch/components/status.js
+++ b/app/javascript/flavours/glitch/components/status.js
@@ -425,6 +425,7 @@ class Status extends ImmutablePureComponent {
   handleHotkeyOpen = () => {
     let state = {...this.context.router.history.location.state};
     state.mastodonBackSteps = (state.mastodonBackSteps || 0) + 1;
+    const status = this.props.status;
     this.context.router.history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`, state);
   }