added search for electron + sourcemap for jquery

This commit is contained in:
azivner
2017-12-12 21:40:55 -05:00
parent bdeaa2829d
commit c24d9a0afa
8 changed files with 75 additions and 1 deletions

View File

@@ -141,6 +141,7 @@
// Don't fire in text-accepting inputs that we didn't directly bind to
if (this !== event.target && (/textarea|select/i.test(event.target.nodeName) ||
(jQuery.hotkeys.options.filterTextInputs &&
event.target.tagName != 'WEBVIEW' &&
jQuery.inArray(event.target.type, jQuery.hotkeys.textAcceptingInputTypes) > -1))) {
return;
}