1jQuery(document).ready(function () { 2 3 $("ul.news-datemenu-month-list").hide(); 4 $("ul[data-year='" + $("li.news-datemenu-year-item.active").text() + "']").show(); 5 6 $("li.news-datemenu-year-item").on( 7 "click", 8 function(){ 9 $("ul.news-datemenu-month-list").hide(); 10 $("li.news-datemenu-year-item").removeClass("active"); 11 $("ul[data-year='" + $(this).text() + "']").show(); 12 $(this).addClass("active"); 13 } 14 ); 15 16 $("ul.news-datemenu-month-list li").on({ 17 load: function () { 18 var $root = $(this); 19 $('.news-cards-container .column, .archive-cards-container .column').each(function () { 20 if ($(this).attr('data-year') == $root.parent('ul.news-datemenu-month-list').attr('data-year') && $(this).attr('data-month') == $root.attr('data-month')) { 21 $(this).show(); 22 } else { 23 $(this).hide(); 24 } 25 }); 26 } 27 }); 28 29 $("ul.news-datemenu-month-list li.active").trigger('load'); 30 31});
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.