From df0ee70e36d2c93e584004df0598779ec02316d1 Mon Sep 17 00:00:00 2001 From: samhed Date: Fri, 28 Mar 2014 08:54:49 +0100 Subject: [PATCH] Make sure that the default value of the hidden input field is a space. --- include/ui.js | 2 +- vnc.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ui.js b/include/ui.js index f8524632..bc5c9970 100644 --- a/include/ui.js +++ b/include/ui.js @@ -854,7 +854,7 @@ keyInput: function(event) { // another session there has to always be text in the // keyboardinput element with which backspace can interact. // We also need to reset the input field text to avoid overflow. - elem.value = "x"; + elem.value = '\u00a0'; }, keyInputBlur: function() { diff --git a/vnc.html b/vnc.html index 9157c29f..cf2fd25a 100644 --- a/vnc.html +++ b/vnc.html @@ -65,7 +65,7 @@ id="showKeyboard" class="noVNC_status_button" value="Keyboard" title="Show Keyboard"/> + id="keyboardinput" class="" value=" "/>