renamed no space to nospace

This commit is contained in:
Jack 2020-12-03 00:31:42 +00:00
parent 8053bcdce9
commit 036dce5ac4
2 changed files with 4 additions and 4 deletions

View file

@ -347,7 +347,7 @@ function activateFunbox(funbox, mode) {
if (config.keymapMode === "next") {
setKeymapMode("react");
}
} else if (funbox === "no_space") {
} else if (funbox === "nospace") {
$("#words").addClass("nospace");
restartTest(false, true);
}
@ -4311,7 +4311,7 @@ $(document).keydown((event) => {
} else {
currentInput = inputHistory.pop();
currentCorrected = correctedHistory.pop();
if (activeFunBox === "no_space") {
if (activeFunBox === "nospace") {
currentInput = currentInput.substring(0, currentInput.length - 1);
}
}
@ -4733,7 +4733,7 @@ $(document).keydown(function (event) {
compareInput(!config.blindMode);
if (
activeFunBox === "no_space" &&
activeFunBox === "nospace" &&
currentInput.length === wordsList[currentWordIndex].length
) {
jQuery.event.trigger({

View file

@ -85,7 +85,7 @@
"info": "Test your memory. Remember the words and type them blind."
},
{
"name": "no_space",
"name": "nospace",
"type": "script",
"info": "Whoneedsspacesanyway?"
}