mirror of https://github.com/espruino/BangleApps
kbmulti: remove unnecessary `if`
parent
f70ac9aa40
commit
c2a5d2517a
|
@ -76,7 +76,7 @@ exports.input = function(options) {
|
|||
deactivateTimeout(charTimeout);
|
||||
if (textIndex > -1){
|
||||
text = text.slice(0, textIndex) + text.slice(textIndex + 1);
|
||||
if (textIndex > -1) textIndex --;
|
||||
textIndex--;
|
||||
newCharacter();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue