From 9f5fc3b3b0e20aa0397ffa6a8e2291ae9f409dc5 Mon Sep 17 00:00:00 2001 From: remi Date: Fri, 27 May 2022 20:17:35 +0200 Subject: [PATCH] o.o --- ime.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ime.js b/ime.js index 95325e8..49fe325 100644 --- a/ime.js +++ b/ime.js @@ -96,11 +96,11 @@ class HeonianIME { if (this.currentWord.join() != "") { //blame js :) this.input.push(this.currentWord); this.currentWord = []; - if (space == true) { - this.currentWord = [" "]; - this.input.push(this.currentWord); - this.currentWord = []; - } + } + if (space == true) { + this.currentWord = [" "]; + this.input.push(this.currentWord); + this.currentWord = []; } this.imeReset(); } else {