1$('.home-events-slim-filter .section-events__filter-btn').on('click',function() { 2 $('.section-events__filter-item').removeClass('section-events__filter-item--active'); 3 $(this).parent().addClass('section-events__filter-item--active'); 4 5 var tag = $(this).data('tag'); 6 7 $(".home-events-slim-ul li").each(function() 8 { 9 $(this).addClass('hide'); 10 }); 11 12 if(tag) 13 { 14 $(".home-events-slim-ul li").each(function() 15 { 16 var array = $(this).data('tags'); 17 if($.inArray(tag,array)!=-1) $(this).removeClass('hide'); 18 }) 19 } 20 else 21 { 22 $(".home-events-slim-ul li").each(function() 23 { 24 $(this).removeClass('hide'); 25 }); 26 } 27});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.