1jQuery(document).ready(function () { 2 jQuery(".hentry ").addClass("all"); 3 jQuery(".filter-button").click(function () { 4 var value = jQuery(this).attr("data-filter"); 5 jQuery(".hentry").parent().hide(); 6 jQuery("." + value) 7 .parent() 8 .show(); 9 jQuery(".hentry.all").parent().show(); 10 if (value == "all") { 11 jQuery(".hentry").parent().addClass("all").show(); 12 } else { 13 jQuery(".hentry").parent().removeClass("all").hide(); 14 jQuery("." + value) 15 .parent() 16 .show(); 17 } 18 jQuery(".filter-button").removeClass("active"); 19 jQuery(this).addClass("active"); 20 showMorePosts(); 21 }); 22 showMorePosts(); 23}); 24 25function showMorePosts() { 26 jQuery("#loadMorePost .btn").click(function () { 27 if (window.innerWidth > 768 && window.innerWidth < 1200) { 28 jQuery(".row>.blogBox:hidden").slice(0, 8).show(); 29 jQuery(".news-post:hidden").slice(0, 6).css("display", "flex"); 30 } else { 31 jQuery(".row>.blogBox:hidden").slice(0, 9).show(); 32 jQuery(".news-post:hidden").slice(0, 6).css("display", "flex"); 33 } 34 if ( 35 jQuery(".row>.blogBox").length == 36 jQuery(".row>.blogBox:visible").length && 37 jQuery(".news-post").length == jQuery(".news-post:visible") 38 ) { 39 jQuery("#loadMorePost").hide(); 40 } 41 }); 42}
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.