diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-10-10 17:23:40 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-10-10 17:40:06 +0200 |
commit | bb1103d9742f088252f8156968a474ca8a58b087 (patch) | |
tree | 0f5171e96607c43a5e09a22f21e2dd2099613a14 /app/javascript | |
parent | 269edc0e48886ea90455283f08a646c86387cfbc (diff) |
Really fix HotKeys
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js index 0a9beacab..510bb9540 100644 --- a/app/javascript/flavours/glitch/features/ui/index.js +++ b/app/javascript/flavours/glitch/features/ui/index.js @@ -456,7 +456,7 @@ export default class UI extends React.Component { }; return ( - <HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef} focused> + <HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef} attach={window} focused> <div className={className} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}> {navbarUnder ? null : (<TabsBar />)} |