From a416e24d642dc6e9325a092a3d1a726e9a7136c5 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 28 Oct 2020 23:41:31 +0000 Subject: [PATCH] stopping the words from jumping to the next line --- public/js/script.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/js/script.js b/public/js/script.js index 86f754852..5a4e8dd55 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -4667,6 +4667,13 @@ $(document).keydown(function (event) { } else { activeWordJumped = false; } + + if (activeWordJumped) { + currentInput = currentInput.slice(0, -1); + compareInput(!config.blindMode); + activeWordJumped = false; + } + // console.timeEnd("offcheck2"); if (config.keymapMode === "react") {