Fix for key capture
Need to allow keys in password element
This commit is contained in:
parent
655c9cb48f
commit
e04089289b
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@
|
||||||
// Get active elem to see what type it is
|
// Get active elem to see what type it is
|
||||||
var active = document.activeElement;
|
var active = document.activeElement;
|
||||||
var type = active.type || active.tagName.toLowerCase();
|
var type = active.type || active.tagName.toLowerCase();
|
||||||
return (type === "text" || type === "select" || type === "textarea");
|
return (type === "text" || type === "select" || type === "textarea" || type == "password");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue