mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Prevent shortcut from being triggered in input and textarea.
This commit is contained in:
parent
df9fbc4958
commit
46716ad229
@ -39,6 +39,7 @@ customProfiles = do ->
|
||||
jQuery(document).on 'keydown', (e) ->
|
||||
handler = shortcutKeys[e.keyCode]
|
||||
return unless handler
|
||||
return if e.target.tagName == 'INPUT' or e.target.tagName == 'TEXTAREA'
|
||||
switch typeof handler
|
||||
when 'string'
|
||||
switch handler
|
||||
|
Loading…
Reference in New Issue
Block a user