Replaced call to nonexistent function Misc.countAllKeys (#2241) by lukew3

This commit is contained in:
Luke Weiler 2022-01-03 06:22:43 -05:00 committed by GitHub
parent 402c41f22c
commit f8c27c66a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();