Answer the question
In order to leave comments, you need to log in
Why doesn't js code work in Safari?
$(document).ready(function(){
/*
$(document).on('click','.catalog-top-menu__menu-btn',function(){
$('.catalog-top-menu ul').slideToggle();
})
*/
$('.catalog-top-menu__section-path').hover(function(){
if (document.body.clientWidth>1099){
$(this).children('.catalog-top-menu__submenu-wrapper').stop(false, true).fadeIn(50).css("display", "block");
}
},function(){
$(this).children('.catalog-top-menu__submenu-wrapper').stop(false,true).fadeOut(50);
})
$(document).on('click','.catalog-top-menu-sm',function(){
$('.catalog-top-menu').slideToggle();
})
$(document).on('click','.header__xs-menu-btn',function(){
$('.catalog-top-menu').slideToggle();
})
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question