1jQuery(document).ready(function ($) { 2 3 $('#searchWrapper i.icon-search').click(function() { 4 $('#searchWrapper form').submit(); 5 }); 6 7 $('.formelement input:not([readonly])').blur(function () { 8 if (!$.trim(this.value).length) { 9 $(this).removeClass('notempty'); 10 $(this).addClass('empty'); 11 } else { 12 $(this).addClass('notempty'); 13 $(this).removeClass('empty'); 14 } 15 }); 16 17 //customSelect 18 19 $(".custom-select-wrapper").on("click", function () { 20 21 $(this).find(".custom-select").toggleClass("open"); 22 23 }); 24 25 26 $(".custom-select-wrapper").find("li:not(.head)").on("click", function () { 27 28 $(this).siblings().removeClass("selected"); 29 $(this).addClass("selected"); 30 31 var val = $(this).html(); 32 $(this).parent().parent().find("label").html(val); 33 34 $('.subjectselect').val($(this).data('val')); 35 }); 36 37 $('#views-exposed-form-news-block-1 .form-radios .form-item').on("click", function () { 38 39 console.log("click tab"); 40 41 $('#views-exposed-form-news-block-1 .form-radios .form-item').removeClass("active"); 42 43 if ($(this).hasClass("active")) { 44 $(this).removelass("active"); 45 } 46 else { 47 $(this).addClass("active"); 48 } 49 }); 50 51 52});
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.