God damnit

This commit is contained in:
Nicolas Stepien 2011-06-23 23:26:33 +02:00
parent 0b826d5d6d
commit ed6a58d130
2 changed files with 2 additions and 3 deletions

View File

@ -1103,8 +1103,7 @@
key = '<Esc>';
} else if ((48 <= kc && kc <= 57)) {
key = String.fromCharCode(kc);
}
if (kc === 8) {
} else if (kc === 8) {
key = '';
} else {
key = this.value;

View File

@ -888,7 +888,7 @@ options =
key = '<Esc>'
else if 48 <= kc <= 57 #0-9
key = String.fromCharCode kc
if kc is 8
else if kc is 8
key = ''
else
key = @value