From: ThibG Date: Wed, 17 Oct 2018 14:56:16 +0000 (+0200) Subject: Handle global hotkeys even when no element has focus (#8998) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=adb06baef6d7cb1e3c051c621ba454aec82edeef;p=mastodon.git Handle global hotkeys even when no element has focus (#8998) This fixes hotkeys not working when pressing the column “back” button, for instance. --- diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index fb6f675f4..662375a76 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 ( - +