1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix for key capture

Need to allow keys in password element
This commit is contained in:
Tim Hobbs 2014-05-14 09:53:54 -07:00
parent 655c9cb48f
commit e04089289b

View file

@ -566,7 +566,7 @@
// Get active elem to see what type it is
var active = document.activeElement;
var type = active.type || active.tagName.toLowerCase();
return (type === "text" || type === "select" || type === "textarea");
return (type === "text" || type === "select" || type === "textarea" || type == "password");
};
}