mirror of
https://github.com/Theodor-Springmann-Stiftung/jacoblenz.git
synced 2025-10-29 17:25:33 +00:00
Added filter functionality to list III
This commit is contained in:
@@ -100,10 +100,10 @@
|
|||||||
if( term ) {
|
if( term ) {
|
||||||
for (let item of found) {
|
for (let item of found) {
|
||||||
$(item.element).unmark().hide();
|
$(item.element).unmark().hide();
|
||||||
|
$(item.category).hide();
|
||||||
}
|
}
|
||||||
$("#list .category").hide();
|
|
||||||
if (term.length > swl && term.startsWith(sw)) {
|
if (term.length > swl && term.startsWith(sw)) {
|
||||||
found = findWord( term, found);
|
found = findWord( term, found );
|
||||||
} else {
|
} else {
|
||||||
found = findWord( term, dictionary );
|
found = findWord( term, dictionary );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user