Commit 1138bdd4 authored by samhed's avatar samhed

Reverting most of commit cb3e4deb. The issue was not related to using...

Reverting most of commit cb3e4deb. The issue was not related to using keyboardinputReset.. the issue was infact a typo which was introduced in 3b8ec46f. I must be too tired..
parent cb3e4deb
...@@ -961,6 +961,10 @@ var UI; ...@@ -961,6 +961,10 @@ var UI;
if (!UI.rfb) return; if (!UI.rfb) return;
var newValue = event.target.value; var newValue = event.target.value;
if (!UI.lastKeyboardinput) {
UI.keyboardinputReset();
}
var oldValue = UI.lastKeyboardinput; var oldValue = UI.lastKeyboardinput;
var newLen; var newLen;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment