diff --git a/src/js/script.js b/src/js/script.js index 03e55c6e6..fb9dbafb9 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -5426,6 +5426,18 @@ function handleAlpha(event) { } } + if (event.key === "'" || event.key === "’") { + if (nextCharInWord == "'" || nextCharInWord == "’") { + thisCharCorrect = true; + } + } + + if (event.key === '"' || event.key === "”") { + if (nextCharInWord == '"' || nextCharInWord == "”") { + thisCharCorrect = true; + } + } + if (!thisCharCorrect) { accuracyStats.incorrect++; currentError.count++;