mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 21:09:18 +08:00
Replaced call to nonexistent function Misc.countAllKeys (#2241) by lukew3
This commit is contained in:
parent
402c41f22c
commit
f8c27c66a6
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ function load() {
|
|||
if (
|
||||
newResultFilters != undefined &&
|
||||
newResultFilters !== "" &&
|
||||
Misc.countAllKeys(newResultFilters) >=
|
||||
Misc.countAllKeys(defaultResultFilters)
|
||||
Object.keys(JSON.parse(newResultFilters)).length >=
|
||||
Object.keys(defaultResultFilters).length
|
||||
) {
|
||||
filters = JSON.parse(newResultFilters);
|
||||
save();
|
||||
|
|
Loading…
Reference in a new issue