Make sure that the default value of the hidden input field is a space.
This commit is contained in:
parent
7cad15425e
commit
df0ee70e36
|
|
@ -854,7 +854,7 @@ keyInput: function(event) {
|
||||||
// another session there has to always be text in the
|
// another session there has to always be text in the
|
||||||
// keyboardinput element with which backspace can interact.
|
// keyboardinput element with which backspace can interact.
|
||||||
// We also need to reset the input field text to avoid overflow.
|
// We also need to reset the input field text to avoid overflow.
|
||||||
elem.value = "x";
|
elem.value = '\u00a0';
|
||||||
},
|
},
|
||||||
|
|
||||||
keyInputBlur: function() {
|
keyInputBlur: function() {
|
||||||
|
|
|
||||||
2
vnc.html
2
vnc.html
|
|
@ -65,7 +65,7 @@
|
||||||
id="showKeyboard" class="noVNC_status_button"
|
id="showKeyboard" class="noVNC_status_button"
|
||||||
value="Keyboard" title="Show Keyboard"/>
|
value="Keyboard" title="Show Keyboard"/>
|
||||||
<input type="text" autocapitalize="off" autocorrect="off"
|
<input type="text" autocapitalize="off" autocorrect="off"
|
||||||
id="keyboardinput" class=""/>
|
id="keyboardinput" class="" value=" "/>
|
||||||
<div id="noVNC_extra_keys">
|
<div id="noVNC_extra_keys">
|
||||||
<input type="image" alt="Extra keys" src="images/showextrakeys.png"
|
<input type="image" alt="Extra keys" src="images/showextrakeys.png"
|
||||||
id="showExtraKeysButton" class="noVNC_status_button">
|
id="showExtraKeysButton" class="noVNC_status_button">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue