mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 12:02:25 +02:00
Fix keyboard not raising for Facebook username field
This commit is contained in:
parent
14d52cdc8a
commit
819f02a988
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
function shouldRaiseKeyboard() {
|
||||
var nodeName = document.activeElement.nodeName;
|
||||
var nodeType = document.activeElement.type;
|
||||
if (nodeName === "INPUT" && (nodeType === "text" || nodeType === "number" || nodeType === "password")
|
||||
if (nodeName === "INPUT" && ["email", "number", "password", "tel", "text", "url"].indexOf(nodeType) !== -1
|
||||
|| document.activeElement.nodeName === "TEXTAREA") {
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue