1$(function () { 2 3 $(document) 4 .on('click', '.b-select-list span', function () { 5 var _this = $(this); 6 setTimeout(function () { 7 if(_this.closest('.b-select').hasClass('filter-year')) { 8 $(".filter-month .b-select--current span").text(Lang['веÑÑ_год']).data('id',''); 9 10 if ($('.filter-year span span').data('id')) { 11 $('.filter-month').show(); // show month when year is selected 12 } else { 13 $('.filter-month').hide(); // hide when all years is selected 14 } 15 } 16 17 filterHelper.changeUrl(); 18 }, 50); 19 }) 20 .on('click', '.filter-section-list a', function () { 21 22 $('.filter-section-list li.active').removeClass('active'); 23 $(this).closest('li').addClass('active'); 24 25 $(".filter-section .b-select--current span").text($(this).text()).data("id",$(this).data('id')); 26 setTimeout(function () { 27 filterHelper.changeUrl(); 28 }, 50); 29 return false; 30 }); 31 32 if (window.history && window.history.pushState) { 33 $(window).bind("popstate", function (evt) { 34 var state = evt.originalEvent.state; 35 if (state && state.module === "skv") { 36 37 window.location.href = state.url; 38 39 } 40 }); 41 } 42 43 if ($('.filter-year span span').data('id')) { 44 $('.filter-month').show(); // show month when year is selected 45 } 46 47});
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.