From ec2293ff63b4cf8743397c8e21f72815a25b9ff4 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 21 Dec 2021 14:14:27 +0100 Subject: [PATCH] fixed settings save buttons interacting with the wrong settings --- src/js/settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/settings.js b/src/js/settings.js index 80e9a3c4e..bf5ebc901 100644 --- a/src/js/settings.js +++ b/src/js/settings.js @@ -573,7 +573,7 @@ $(document).on( "click", ".pageSettings .section.paceCaret .button.save", (e) => { - UpdateConfig.setMinBurstCustomSpeed( + UpdateConfig.setPaceCaretCustomSpeed( parseInt( $(".pageSettings .section.paceCaret input.customPaceCaretSpeed").val() ) @@ -592,7 +592,7 @@ $(document).on( ); $(document).on("click", ".pageSettings .section.minWpm .button.save", (e) => { - UpdateConfig.setMinBurstCustomSpeed( + UpdateConfig.setMinWpmCustomSpeed( parseInt($(".pageSettings .section.minWpm input.customMinWpmSpeed").val()) ); }); @@ -608,7 +608,7 @@ $(document).on( ); $(document).on("click", ".pageSettings .section.minAcc .button.save", (e) => { - UpdateConfig.setMinBurstCustomSpeed( + UpdateConfig.setMinAccCustom( parseInt($(".pageSettings .section.minAcc input.customMinAcc").val()) ); });