mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-24 23:07:25 +08:00
fixed settings save buttons interacting with the wrong settings
This commit is contained in:
parent
fb97a27e03
commit
ec2293ff63
1 changed files with 3 additions and 3 deletions
|
|
@ -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())
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue