var chart = new Chart(ctx, {...}
start: function start(event, ui) {
var len = $(this).find('li').length,
listLi = $(this).find('li'),
sum = 0;
setTimeout(function () {
for (var i = 0; i < len; i++) {
if ($(listLi[i]).hasClass('ui-selecting')) {
sum++;
}
}
if (sum >= 1) {
$('.selected_all-clear', $('#select_right')).css('opacity', '1');
}
}, 200);
$('.selected_all-clear', $('#select_right')).css('opacity', '1');
},
selected: function (event, ui) {
$(ui.selected).removeClass('ui-selected');
}
});
<div class="block delivery2">
<img src="img/oplata/delivery2.png" alt="">
<div class="hover"></div>
<div class="block-hover"></div>
<div class="block-click"></div>
</div>