[go: nahoru, domu]

Skip to content

Commit

Permalink
Stop using keyboardinputReset at the start of keyInput
Browse files Browse the repository at this point in the history
* This fixes backspace when using the on-screen keyboard on Android
  • Loading branch information
samhed committed May 19, 2015
1 parent 613f05e commit cb3e4de
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cb3e4de

Please sign in to comment.