Filter Algo Fehler Fix

This commit is contained in:
Simon Martens
2023-02-03 12:12:41 +01:00
parent 7223c9d7d0
commit 7032a89bb7

View File

@@ -141,8 +141,8 @@
} else {
found = findWord( term, dictionary );
}
$("#list .category").hide();
for (let item of dictionary) {
$(item.category).hide();
if (found.indexOf(item) !== -1) {
$(item.category).addClass("search-expanded").show();
$(item.element).show();