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 New Issue
Block a user