PK
Size: a a a
PK
PK
АЗ
M
M
SV
v
И
$(".Slider__Item--Valign").map(function() {Вот так почему то не срабатывает
var brand = $(this).attr('data-slick-index');
if(brand > 8){
$(this).hide();
}
});
И
$(function() {Вот так тоже не работает...
$(".slider-partners").each(function() {
let $brand = $(this).find(".Slider__Item--Valign");
if( $brand.length <= 8 ) return;
$brand.slice(8).hide();
$(this).append('<a class="js-show">Еще ' + ($brand.length - 8) + '...</a>');
});
});
М
М
O
М
KS
М
М
KS
М
АЗ
М