mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 01:55:31 +02:00
Merge pull request #10331 from ctrlaltdavid/21306
Fix keyboard not raising for Facebook username field
This commit is contained in:
commit
2b13d4d257
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