Answer the question
In order to leave comments, you need to log in
Why doesn't the menu scroll all the way to the end?
The menu on the phones does not want to scroll to the end, I do not understand what this problem is connected with.
Link to site.
In order to open the menu, you need to click on the button Filters and Products
var menuLink = $('.js-menu-link'),
menuClose = $('.menu-close'),
overlay = $('.overlay');
menuLink.on('click', function (e) {
e.preventDefault();
var thisMenuLink = $(this).attr('data-target');
$(thisMenuLink).addClass('active');
overlay.addClass('active');
$('html, body').addClass('hidden');
});
menuClose.on('click', function (e) {
e.preventDefault();
var thisMenuClose = $(this).attr('data-target');
$(thisMenuClose).removeClass('active');
overlay.removeClass('active');
$('html, body').removeClass('hidden');
});
overlay.on('click', function (e) {
e.preventDefault();
$('.js-menu').removeClass('active');
overlay.removeClass('active');
$('html, body').removeClass('hidden');
});
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