1(function ($) { 2 3 $(document).ready(function () { 4 if (!$('.is-active').parents('.parent').hasClass('active')){ 5 $('.is-active').parents('.parent').addClass('active') 6 } 7 if ($('.form-item-field-concert-datetime-value-1')) { 8 $(function () { 9 $('form[id^=views-exposed-form-concerts-page-] .form-item-field-concert-datetime-value-1').datepicker(); 10 }); 11 $('#edit-field-concert-datetime-value-1--2').change(function () { 12 $('form[id^=views-exposed-form-concerts-page-] .form-item-field-concert-datetime-value-1').datepicker('setDate', $(this).val()); 13 }); 14 $('form[id^=views-exposed-form-concerts-page-] .form-item-field-concert-datetime-value-1').change(function () { 15 $('#edit-field-concert-datetime-value-1--2').attr('value', $(this).val()); 16 $(this).parents('form').find($('.form-submit')).click(); 17 }); 18 19 20 $(function () { 21 $('form[id^=views-exposed-form-master-classes-page-] .form-item-field-concert-datetime-value-1').datepicker(); 22 }); 23 $('#edit-field-concert-datetime-value-1--2').change(function () { 24 $('form[id^=views-exposed-form-master-classes-page-] .form-item-field-concert-datetime-value-1').datepicker('setDate', $(this).val()); 25 }); 26 27 $('form[id^=views-exposed-form-master-classes-page-] .form-item-field-concert-datetime-value-1').change(function () { 28 $('#edit-field-concert-datetime-value-1--2').attr('value', $(this).val()); 29 $('#views-exposed-form-master-classes-page-1 .form-submit').click(); 30 }); 31 } 32 $(function () { 33 $(".toggle").on("click", function (e) { 34 e.preventDefault(); 35 $(this).toggleClass('active'); 36 $("#navbarNav").fadeToggle(); 37 }); 38 }); 39 40 $(".toggle").on("click", function (e) { 41 e.stopPropagation(); 42 }); 43 44 if (window.matchMedia('(max-width: 991px)').matches) { 45 $("ul.nav.main > li.expanded.parent > a").click(function (e) { 46 if (e.currentTarget.href.endsWith('contacts')) { 47 return; 48 } 49 if (e.currentTarget.href.endsWith('sveden')) { 50 return; 51 } 52 if (e.currentTarget.href.endsWith('en/x-letka/info')) { 53 return; 54 } 55 if (e.currentTarget.href.endsWith('en/education/foreign-students')) { 56 return; 57 } 58 e.preventDefault(); 59 if ($(this).hasClass('open-menu')) { 60 $(this).removeClass('open-menu'); 61 } else { 62 $(this).addClass('open-menu'); 63 } 64 $(this).next('ul.nav.child').toggle(); 65 }); 66 } 67 68 }); 69 70})(jQuery);
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.