This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
abunchtell
/
mastodon
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Activity
Преглед изворни кода
Handle global hotkeys even when no element has focus (
#8998
)
This fixes hotkeys not working when pressing the column “back” button, for instance.
master
ThibG
пре 5 година
committed by
Eugen Rochko
родитељ
7085b21f70
комит
adb06baef6
1 измењених фајлова
са
1 додато
и
1 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/mastodon/features/ui/index.js
+ 1
- 1
app/javascript/mastodon/features/ui/index.js
Прегледај датотеку
@@ -460,7 +460,7 @@ class UI extends React.PureComponent {
};
return (
<HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef}>
<HotKeys keyMap={keyMap} handlers={handlers} ref={this.setHotkeysRef}
attach={window} focused
>
<div className={classNames('ui', { 'is-composing': isComposing })} ref={this.setRef} style={{ pointerEvents: dropdownMenuIsOpen ? 'none' : null }}>
<TabsBar />
Write
Preview
Loading…
Откажи
Сачувај