mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 05:26:54 +08:00
fixed config loading not working
This commit is contained in:
parent
63b21f63dc
commit
5c6f295759
1 changed files with 4 additions and 4 deletions
|
@ -159,10 +159,10 @@ function applyConfig(configObj) {
|
|||
setSmoothLineScroll(configObj.smoothLineScroll, true);
|
||||
setShowLiveWpm(configObj.showLiveWpm, true);
|
||||
setShowTimerProgress(configObj.showTimerProgress, true);
|
||||
setAlwaysShowDecimalPlaces(config.alwaysShowDecimalPlaces, true);
|
||||
setAlwaysShowWordsHistory(config.alwaysShowWordsHistory, true);
|
||||
setPlaySoundOnError(config.playSoundOnError, true);
|
||||
setStopOnError(config.stopOnError, true);
|
||||
setAlwaysShowDecimalPlaces(configObj.alwaysShowDecimalPlaces, true);
|
||||
setAlwaysShowWordsHistory(configObj.alwaysShowWordsHistory, true);
|
||||
setPlaySoundOnError(configObj.playSoundOnError, true);
|
||||
setStopOnError(configObj.stopOnError, true);
|
||||
// if (
|
||||
// configObj.resultFilters !== null &&
|
||||
// configObj.resultFilters !== undefined
|
||||
|
|
Loading…
Add table
Reference in a new issue