From 62b51be3320cffc030907c78662b6032bfb4e9cf Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 22 Sep 2020 14:25:10 +0100 Subject: [PATCH] fixed pace caret speed memory reading --- public/js/commandline.js | 1 - public/js/userconfig.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/commandline.js b/public/js/commandline.js index 7df0fb811..67b697b8a 100644 --- a/public/js/commandline.js +++ b/public/js/commandline.js @@ -604,7 +604,6 @@ let commandsPaceCaret = { input: true, exec: (input) => { setPaceCaretCustomSpeed(input); - $(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val(input) setPaceCaret("custom"); }, }, diff --git a/public/js/userconfig.js b/public/js/userconfig.js index 3e6ccf6ed..f2e4c0a5e 100644 --- a/public/js/userconfig.js +++ b/public/js/userconfig.js @@ -410,6 +410,7 @@ function setPaceCaretCustomSpeed(val, nosave) { val = 100; } config.paceCaretCustomSpeed = val; + $(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val(val); if (!nosave) saveConfigToCookie(); }