diff --git a/public/js/script.js b/public/js/script.js
index 05b9fbabe..69c77de8f 100644
--- a/public/js/script.js
+++ b/public/js/script.js
@@ -907,7 +907,7 @@ function compareInput(showError) {
if (currentWord[i] == undefined) {
ret += '";
} else {
- ret += '' + currentWord[i] + "";
+ ret += '' + currentWord[i] + (config.indicateTypos ? `${input[i]}` : '') + "";
}
}
}