mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 15:36:42 +08:00
enabling quote length filters when quote mode is enabled
This commit is contained in:
parent
37867dcde7
commit
1ec0389b40
1 changed files with 4 additions and 0 deletions
|
@ -1310,6 +1310,10 @@ $(".pageAccount .topFilters .button.currentConfigFilter").click((e) => {
|
|||
config.resultFilters.time[config.time] = true;
|
||||
} else if (config.mode === "words") {
|
||||
config.resultFilters.words[config.words] = true;
|
||||
} else if (config.mode === "quote"){
|
||||
Object.keys(config.resultFilters.quoteLength).forEach((ql) => {
|
||||
config.resultFilters.quoteLength[ql] = true;
|
||||
});
|
||||
}
|
||||
if (config.punctuation) {
|
||||
config.resultFilters.punctuation.on = true;
|
||||
|
|
Loading…
Reference in a new issue