Selaa lähdekoodia

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..

samhed 10 vuotta sitten
vanhempi
commit
1138bdd4b7
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      include/ui.js

+ 4 - 0
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;