Allow "Shift+[not a letter or number]" keybinds to work in inputs.

This commit is contained in:
Mayhem 2013-11-05 10:49:09 +01:00
parent f09121ab2e
commit ab83d61171

View File

@ -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