mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-29 10:17:30 +08:00
fixed a bug where live wpm setting would not be saved when changed from the settings screen
This commit is contained in:
parent
bf75fc862e
commit
e66760cd4d
1 changed files with 2 additions and 0 deletions
|
|
@ -81,11 +81,13 @@ $(".pageSettings .section.quickTab .buttons .button.off").click(e => {
|
|||
//live wpm
|
||||
$(".pageSettings .section.liveWpm .buttons .button.on").click(e => {
|
||||
config.showLiveWpm = true;
|
||||
saveConfigToCookie();
|
||||
showNotification('Live WPM on', 1000);
|
||||
setSettingsButton('liveWpm', config.showLiveWpm);
|
||||
})
|
||||
$(".pageSettings .section.liveWpm .buttons .button.off").click(e => {
|
||||
config.showLiveWpm = false;
|
||||
saveConfigToCookie();
|
||||
showNotification('Live WPM off', 1000);
|
||||
setSettingsButton('liveWpm', config.showLiveWpm);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue