Automatically reset text area on keyboard events if native OSK is enabled/assumed. Hide text area via CSS.

This commit is contained in:
Michael Jumper
2012-03-21 16:42:01 -07:00
parent 0c4c47ecc4
commit 94d0b001bb
3 changed files with 24 additions and 10 deletions

View File

@@ -54,10 +54,8 @@
</div>
<input id="eventTarget"
type="text"
style="width: 0; height: 0; position: fixed; opacity: 0"
value="x"/>
<!-- Keyboard event target for platforms with native OSKs -->
<textarea id="eventTarget">GUAC</textarea>
<!-- Display -->
<div id="display">