mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 04:19:06 +08:00
fixed pace caret speed memory reading
This commit is contained in:
parent
780e64481f
commit
62b51be332
2 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,6 @@ let commandsPaceCaret = {
|
|||
input: true,
|
||||
exec: (input) => {
|
||||
setPaceCaretCustomSpeed(input);
|
||||
$(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val(input)
|
||||
setPaceCaret("custom");
|
||||
},
|
||||
},
|
||||
|
|
|
@ -410,6 +410,7 @@ function setPaceCaretCustomSpeed(val, nosave) {
|
|||
val = 100;
|
||||
}
|
||||
config.paceCaretCustomSpeed = val;
|
||||
$(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val(val);
|
||||
if (!nosave) saveConfigToCookie();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue