fixed pace caret speed memory reading

This commit is contained in:
Jack 2020-09-22 14:25:10 +01:00
parent 780e64481f
commit 62b51be332
2 changed files with 1 additions and 1 deletions

View file

@ -604,7 +604,6 @@ let commandsPaceCaret = {
input: true,
exec: (input) => {
setPaceCaretCustomSpeed(input);
$(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val(input)
setPaceCaret("custom");
},
},

View file

@ -410,6 +410,7 @@ function setPaceCaretCustomSpeed(val, nosave) {
val = 100;
}
config.paceCaretCustomSpeed = val;
$(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val(val);
if (!nosave) saveConfigToCookie();
}