From 1138bdd4b7e400833eb9cf444ae8daf8702eae7b Mon Sep 17 00:00:00 2001 From: samhed Date: Tue, 19 May 2015 13:34:50 +0200 Subject: [PATCH] Reverting most of commit cb3e4de. The issue was not related to using keyboardinputReset.. the issue was infact a typo which was introduced in 3b8ec46. I must be too tired.. --- include/ui.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ui.js b/include/ui.js index a8239c3a..3e7db636 100644 --- a/include/ui.js +++ b/include/ui.js @@ -961,6 +961,10 @@ var UI; if (!UI.rfb) return; var newValue = event.target.value; + + if (!UI.lastKeyboardinput) { + UI.keyboardinputReset(); + } var oldValue = UI.lastKeyboardinput; var newLen;