Allow "Shift+[not a letter or number]" keybinds to work in inputs.
This commit is contained in:
parent
f09121ab2e
commit
ab83d61171
@ -20,7 +20,7 @@ Keybinds =
|
||||
return unless key = Keybinds.keyCode e
|
||||
{target} = e
|
||||
if target.nodeName in ['INPUT', 'TEXTAREA']
|
||||
return unless /(Esc|Alt|Ctrl|Meta)/.test key
|
||||
return unless /(Esc|Alt|Ctrl|Meta|Shift\+\w{2,})/.test key
|
||||
|
||||
threadRoot = Nav.getThread()
|
||||
if op = $ '.op', threadRoot
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user