about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorMarcin Mikołajczak <me@m4sk.in>2018-04-18 13:15:57 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-04-18 13:15:57 +0200
commit7162a28c34868eb4b8cdd23a4078d99b46949491 (patch)
treefc87ff010604188e51dd849fa0f212d06cce51c7 /app
parent156b916caf4ec902a8db525843e95c1a42350207 (diff)
Add revealing/hiding statuses button to keyboard shortcuts legend column (#7178)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/keyboard_shortcuts/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/keyboard_shortcuts/index.js b/app/javascript/mastodon/features/keyboard_shortcuts/index.js
index 8531e03c0..5ae7b34a2 100644
--- a/app/javascript/mastodon/features/keyboard_shortcuts/index.js
+++ b/app/javascript/mastodon/features/keyboard_shortcuts/index.js
@@ -53,6 +53,10 @@ export default class KeyboardShortcuts extends ImmutablePureComponent {
                 <td><FormattedMessage id='keyboard_shortcuts.enter' defaultMessage='to open status' /></td>
               </tr>
               <tr>
+                <td><kbd>x</kbd></td>
+                <td><FormattedMessage id='keyboard_shortcuts.toggle_hidden' defaultMessage='to show/hide text behind CW' /></td>
+              </tr>
+              <tr>
                 <td><kbd>up</kbd></td>
                 <td><FormattedMessage id='keyboard_shortcuts.up' defaultMessage='to move up in the list' /></td>
               </tr>