1$(function(){ 2 $(".js-m-menu").on("click", function(event){ 3 event = event.originalEvent; 4 if(event) event.preventDefault(); 5 let $this = $(this), 6 $mainMenu = $(".js-main-menu"), 7 $menuText = $(".js-m-menu-text"); 8 9 if($this.hasClass("close")){ 10 $mainMenu.fadeOut(100); 11 $menuText.text("ÐенÑ") 12 $this.removeClass("close"); 13 $this.closest("header").removeClass("opened"); 14 }else{ 15 $mainMenu.fadeIn(); 16 $menuText.text("ÐакÑÑÑÑ"); 17 $this.addClass("close"); 18 $this.closest("header").addClass("opened"); 19 } 20 }); 21 if(window.matchMedia("(min-width: 1170px)").matches){ 22 $(".js-menu-slider").owlCarousel({ 23 margin: 10, 24 loop: true, 25 items: 5, 26 dots: false, 27 nav: true, 28 navText: [" ", " "], 29 navClass: ["main-menu__nav main-menu__nav-prev", "main-menu__nav main-menu__nav-next"], 30 }); 31 } 32 $(".js-m-menu-sect").on("click", function (event) { 33 event.preventDefault(); 34 if ($(this).hasClass("close")) 35 { 36 $(".js-main-menu-sect").fadeOut(100); 37 $(this).removeClass("close"); 38 $(this).closest(".header-sect").removeClass("opened"); 39 } 40 else 41 { 42 $(".js-main-menu-sect").fadeIn(); 43 $(this).addClass("close"); 44 $(this).closest(".header-sect").addClass("opened"); 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.