mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-09 01:02:18 +02:00
Merge pull request #2677 from thelounge/xpaw/keybinds-caps
Fix irc modifiers not working with caps lock
This commit is contained in:
commit
cf7088ea79
|
@ -167,7 +167,8 @@ const colorsHotkeys = {
|
|||
|
||||
for (const hotkey in colorsHotkeys) {
|
||||
inputTrap.bind("mod+" + hotkey, function(e) {
|
||||
const modifier = colorsHotkeys[e.key];
|
||||
// Key is lowercased because keybinds also get processed if caps lock is on
|
||||
const modifier = colorsHotkeys[e.key.toLowerCase()];
|
||||
|
||||
wrapCursor(
|
||||
e.target,
|
||||
|
|
Loading…
Reference in a new issue