$('.js-standart-slick-slider').each(function () {
var slider = $(this);
slider.slick({
infinite: true,
slidesToShow: 4,
slidesToScroll: 4,
dots: true,
appendArrows: slider.parent().find('.slick-navigation'),
appendDots: slider.parent().find('.js-dots'),
});
});
// Add a slide
$('.your-element').slick('slickAdd',"<div></div>");
$('.slick-slider').slick('refresh');
function tssRecalcStates() {
if (open === true) {
tssClose();
}
winInnerWidth = window.innerWidth;
/* if (winInnerWidth > 499) {
elSubmainWidth = opt.elSubmainWidth;
} else {
elSubmainWidth = winInnerWidth * opt.elSubmainMaxWidth;
} */
elMainWidth = elSubmainWidth + opt.sideHookWidth;
elSubmainWidth = elMainWidth - 15;
elSubmain.style.width = opt.menuWidth + 'px';
elMain.style.transform = 'translateX(' + (-elSubmainWidth) + 'px)';
elMain.style.width = elMainWidth + 'px';
}