mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 10:28:57 +02:00
fix keyboard
This commit is contained in:
parent
f7a1816a99
commit
9a881c5e57
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
function shouldRaiseKeyboard() {
|
||||
var nodeName = document.activeElement.nodeName;
|
||||
var nodeType = document.activeElement.type;
|
||||
if (nodeName === "INPUT" && ["email", "number", "password", "tel", "text", "url"].indexOf(nodeType) !== -1
|
||||
if (nodeName === "INPUT" && ["email", "number", "password", "tel", "text", "url", "search"].indexOf(nodeType) !== -1
|
||||
|| document.activeElement.nodeName === "TEXTAREA") {
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue