[...document.querySelectorAll('.services-list')].forEach(item => {
item.slick('refresh');
});
let arr=[
[1,3,4,5,2,6],
[8,9,10,12,11,13]
]
let arr2 = [];
let arr3 = [];
for(let i = 0; i < arr.length; i++) {
arr2 = [...arr2, ...arr[i]];
}
for(let k = 0; k < 37; k++) {
if (!arr2.includes(k)) {
arr3.push(k);
}
}
$(':input').on('input keyup change paste', function(){
if($(this).hasClass('error')) {
$(this).removeClass('error');
}
});
$(':input').on('blur', function(){
if($(this).val() == '') {
$(this).removeClass('error');
}
});
$('.portfolio-slider-big').each(function(){
$(this).slick({
asNavFor: $(this).parents('.postfolio-slider-container').find('.portfolio-slider-little');
});
});