Disable Alt+Number and Alt+Arrow in text fields to fix conflict with Alt+NumPad character input.
This commit is contained in:
parent
7c0ec1f0f0
commit
7b2951cb93
@ -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|Shift\+\w{2,})/.test key
|
||||
return unless /(Esc|Alt|Ctrl|Meta|Shift\+\w{2,})/.test(key) and not /^Alt\+(\d|Up|Down|Left|Right)$/.test(key)
|
||||
unless (
|
||||
g.VIEW not in ['index', 'thread'] or
|
||||
g.VIEW is 'index' and Conf['JSON Navigation'] and Conf['Index Mode'] is 'catalog' or
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user