From cb3e4deb7365484c58d6fc7bddd345077db2381a Mon Sep 17 00:00:00 2001 From: samhed Date: Tue, 19 May 2015 12:42:33 +0200 Subject: [PATCH] Stop using keyboardinputReset at the start of keyInput * This fixes backspace when using the on-screen keyboard on Android --- include/ui.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/ui.js b/include/ui.js index 9baf40c..a8239c3 100644 --- a/include/ui.js +++ b/include/ui.js @@ -961,11 +961,7 @@ var UI; if (!UI.rfb) return; var newValue = event.target.value; - - if (!UI.lastKeyboardinput) { - UI.keyboardinputReset(); - } - var oldvalue = UI.lastKeyboardinput; + var oldValue = UI.lastKeyboardinput; var newLen; try {