diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-26 18:58:14 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-05-27 19:43:15 +0200 |
commit | b4d4138cf9753b0c25a17f01702b61a74de6ec2c (patch) | |
tree | 17fddc0e0880233a357a26bf703b2f8d40a364d7 /app/javascript/flavours/glitch/features/keyboard_shortcuts | |
parent | 20d01a954e0961eed41954bd23713e91a1dafe14 (diff) |
[Glitch] Add keyboard shortcut to hide/show media
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/keyboard_shortcuts')
-rw-r--r-- | app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js b/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js index 2935a6021..f7b475f8d 100644 --- a/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js +++ b/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js @@ -71,6 +71,10 @@ export default class KeyboardShortcuts extends ImmutablePureComponent { <td><kbd>x</kbd></td> <td><FormattedMessage id='keyboard_shortcuts.toggle_hidden' defaultMessage='to show/hide text behind CW' /></td> </tr> + <tr> + <td><kbd>h</kbd></td> + <td><FormattedMessage id='keyboard_shortcuts.toggle_sensitivity' defaultMessage='to show/hide media' /></td> + </tr> {collapseEnabled && ( <tr> <td><kbd>shift</kbd>+<kbd>x</kbd></td> |