1$(document).ready(function () { 2 3 $('.mobile-nav-search__category').on('click', function (e) { 4 e.preventDefault(); 5 $('.carousel').addClass("on").removeClass("slideOutRight").addClass("slideInRight"); 6 $('body').addClass("body_fixed"); 7 }); 8 $('.carousel__title-close').on('click', function (e) { 9 e.preventDefault(); 10 $('.carousel').removeClass("slideInRight").addClass("slideOutRight"); 11 $('body').removeClass("body_fixed"); 12 }); 13 14 $('.mobile-nav-search__sort').on('click', function (e) { 15 e.preventDefault(); 16 $('.sorter').addClass("on").removeClass("slideOutRight").addClass("slideInRight"); 17 $('body').addClass("body_fixed"); 18 }); 19 $('.sorter__title-close').on('click', function (e) { 20 e.preventDefault(); 21 $('.sorter').removeClass("slideInRight").addClass("slideOutRight"); 22 $('body').removeClass("body_fixed"); 23 }); 24 25 $('.mobile-nav-search__filters').on('click', function (e) { 26 e.preventDefault(); 27 var windowHeight = window.innerHeight; 28 29 $('.aside__filters').css({ 30 'min-height': '100%' 31 }) 32 33 $('.aside__filters').addClass("on").removeClass("slideOutRight").addClass("slideInRight"); 34 $('.aside__window').addClass("show"); 35 $('body').addClass("body_fixed"); 36 37 rangeInputsPositions(); 38 }); 39 40 $('.map-btn').on('click', function (e) { 41 e.preventDefault(); 42 $('.map-btn-close').toggle(); 43 $(this).hide(); 44 $('.mobile-nav-search__filters').toggle(); 45 $('.aside__map').addClass("on").removeClass("slideOutRight").addClass("slideInRight"); 46 $('.aside__window').addClass("show"); 47 $('body').addClass("body_fixed"); 48 49 rangeInputsPositions(); 50 }); 51 52 $('.map-btn-close').on('click', function (e) { 53 e.preventDefault(); 54 $('.map-btn-close').toggle(); 55 $('.mobile-nav-search__filters').toggle(); 56 $('.aside__map').removeClass("on").removeClass("slideInRight").addClass("slideOutRight"); 57 $('.aside__window').removeClass("show"); 58 $('body').removeClass("body_fixed"); 59 $('.map-btn').show(); 60 rangeInputsPositions(); 61 }); 62 63 $('.aside__filters').removeClass("slideInRight").removeClass("slideOutRight").removeClass("on"); 64 $('.aside__map').removeClass("slideInRight").removeClass("slideOutRight").removeClass("on"); 65 $('.aside__window').removeClass("show"); 66 67 $('.filter__title-close').on('click', function (e) { 68 e.preventDefault(); 69 $('.aside__filters').removeClass("slideInRight").addClass("slideOutRight").removeClass("on"); 70 $('.aside__window').removeClass("show"); 71 $('body').removeClass("body_fixed"); 72 }); 73 74 75 $('.mobile-nav-search__location').on('click', function (e) { 76 e.preventDefault(); 77 $('.filter__bottom').slideToggle(); 78 }); 79 80 81 $(window).resize(function () { 82 var w = $(window).width(); 83 if (w > 1200) { 84 $('.carousel').removeClass('slideOutRight'); 85 $('.filter__bottom').removeAttr('style'); 86 } 87 else if (w < 1200) { 88 $('.carousel').addClass('slideOutRight'); 89 } 90 }); 91 92});;
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.