fix autocaps issue
This commit is contained in:
parent
cb00e0e03e
commit
11c8d88ecc
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ var dom = require("pilot/dom");
|
|||
var TextInput = function(parentNode, host) {
|
||||
|
||||
var text = dom.createElement("textarea");
|
||||
if (useragent.isTouchPad)
|
||||
text.setAttribute('x-palm-disable-auto-cap',true);
|
||||
text.style.left = "-10000px";
|
||||
parentNode.appendChild(text);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue