mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 06:33:22 +08:00
renamed no space to nospace
This commit is contained in:
parent
8053bcdce9
commit
036dce5ac4
2 changed files with 4 additions and 4 deletions
|
@ -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({
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
"info": "Test your memory. Remember the words and type them blind."
|
||||
},
|
||||
{
|
||||
"name": "no_space",
|
||||
"name": "nospace",
|
||||
"type": "script",
|
||||
"info": "Whoneedsspacesanyway?"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue