menu

arrow_back How can I replace the slanted quotes so that the code works for IE?

by
1 vote
$('.category-menu__list').on('click', '.category-menu__item', function() {
$('.games__slider').slick('slickUnfilter');

const category = $(this).data('category');
if (category !== 'allPost') {
$('.games__slider').slick('slickFilter', `.${category}`);
}
});

1 Answer

by
 
Best answer
0 votes