Search function searches in names and description
This commit is contained in:
parent
b9f190ec88
commit
787538e1ca
@ -20,7 +20,7 @@ $(document).ready(function() {
|
||||
$(".searchItem").each( function() {
|
||||
var item = $(this);
|
||||
item.hide();
|
||||
item.children(".searchText").each( function() {
|
||||
item.find(".searchText").each( function() {
|
||||
var element = $(this).text().toLowerCase();
|
||||
if (element.indexOf(textToSearch)!=-1) {
|
||||
item.show();
|
||||
|
Loading…
Reference in New Issue
Block a user