+ found = !search ||
+ $(".s", this).text().toLowerCase().search(search) != -1
+ ;
+ if (found)
+ $(this).fadeIn();
+ else
+ $(this).fadeOut();
+ });
+
+
+
+ $('.filter-container', filterList).children().each(function() {
+ console.log($(this).text().toLowerCase());
+ found = !search ||
+ $(this).text().toLowerCase().search(search) != -1
+ ;