diff options
author | ThibG <thib@sitedethib.com> | 2019-05-25 23:20:51 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-05-25 23:20:51 +0200 |
commit | a472190729782f31731674c626c07af483fe9c7f (patch) | |
tree | 68ba41d0095baea25eab7084cace8a9867c74877 /app/javascript/mastodon/features/ui/index.js | |
parent | c90f3b9865cec8386b3258169c38dbc6128a696e (diff) |
Add a keyboard shortcut to hide/show media (#10647)
* Move control of media visibility to parent component * Add keyboard shortcut to toggle media visibility
Diffstat (limited to 'app/javascript/mastodon/features/ui/index.js')
-rw-r--r-- | app/javascript/mastodon/features/ui/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index 61fd77af7..791133afd 100644 --- a/app/javascript/mastodon/features/ui/index.js +++ b/app/javascript/mastodon/features/ui/index.js @@ -93,6 +93,7 @@ const keyMap = { goToMuted: 'g m', goToRequests: 'g r', toggleHidden: 'x', + toggleSensitive: 'h', }; class SwitchingColumnsArea extends React.PureComponent { |