mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
not updating iOffset if stop on word is enabled
removed console log
This commit is contained in:
parent
fd0120d075
commit
e9a20f2537
1 changed files with 1 additions and 2 deletions
|
@ -1064,9 +1064,8 @@ $("#wordsInput").on("input", (event) => {
|
|||
}
|
||||
|
||||
let iOffset = 0;
|
||||
if (/.+ .+/.test(inputValue)) {
|
||||
if (Config.stopOnError !== "word" && /.+ .+/.test(inputValue)) {
|
||||
iOffset = inputValue.indexOf(" ") + 1;
|
||||
console.log("iOffset", iOffset);
|
||||
}
|
||||
for (let i = diffStart; i < inputValue.length; i++) {
|
||||
// passing realInput to allow for correct Korean character compilation
|
||||
|
|
Loading…
Reference in a new issue