1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-20 00:11:46 +02:00

Hotkeys won't fire when typing in a password field (now the same as text boxes).

This commit is contained in:
Mark McDowall 2011-12-09 08:18:20 -08:00
parent 847b743a16
commit 9c2637e23b

View File

@ -44,7 +44,7 @@
handleObj.handler = function( event ) {
// 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 ) ||
event.target.type === "text") ) {
event.target.type === "text" || event.target.type === "password") ) {
return;
}