This commit is contained in:
remi 2022-05-27 20:17:35 +02:00
parent c8157f53b1
commit 9f5fc3b3b0

2
ime.js
View File

@ -96,12 +96,12 @@ class HeonianIME {
if (this.currentWord.join() != "") { //blame js :) if (this.currentWord.join() != "") { //blame js :)
this.input.push(this.currentWord); this.input.push(this.currentWord);
this.currentWord = []; this.currentWord = [];
}
if (space == true) { if (space == true) {
this.currentWord = [" "]; this.currentWord = [" "];
this.input.push(this.currentWord); this.input.push(this.currentWord);
this.currentWord = []; this.currentWord = [];
} }
}
this.imeReset(); this.imeReset();
} else { } else {
if (this.selected + 1 >= this.input.length) { if (this.selected + 1 >= this.input.length) {