mirror of
https://github.com/Radarr/Radarr
synced 2024-12-23 08:22:39 +00:00
Hotkeys won't fire when typing in a password field (now the same as text boxes).
This commit is contained in:
parent
847b743a16
commit
9c2637e23b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
handleObj.handler = function( event ) {
|
handleObj.handler = function( event ) {
|
||||||
// Don't fire in text-accepting inputs that we didn't directly bind to
|
// 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 ) ||
|
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
|
||||||
event.target.type === "text") ) {
|
event.target.type === "text" || event.target.type === "password") ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue