From 9c2637e23b9899fee2bf6052d8570ff4ab63ebaa Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 9 Dec 2011 08:18:20 -0800 Subject: [PATCH] Hotkeys won't fire when typing in a password field (now the same as text boxes). --- NzbDrone.Web/Scripts/jquery.hotkeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NzbDrone.Web/Scripts/jquery.hotkeys.js b/NzbDrone.Web/Scripts/jquery.hotkeys.js index fbd71c71e..853deb648 100644 --- a/NzbDrone.Web/Scripts/jquery.hotkeys.js +++ b/NzbDrone.Web/Scripts/jquery.hotkeys.js @@ -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; }