From adb06baef6d7cb1e3c051c621ba454aec82edeef Mon Sep 17 00:00:00 2001 From: ThibG Date: Wed, 17 Oct 2018 16:56:16 +0200 Subject: [PATCH] Handle global hotkeys even when no element has focus (#8998) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes hotkeys not working when pressing the column “back” button, for instance. --- app/javascript/mastodon/features/ui/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index fb6f675f4cf..662375a769d 100644 --- a/app/javascript/mastodon/features/ui/index.js +++ b/app/javascript/mastodon/features/ui/index.js @@ -460,7 +460,7 @@ class UI extends React.PureComponent { }; return ( - +