[*] FO : Move both sliders module on new hook

This commit is contained in:
gRoussac
2013-12-06 17:05:39 +01:00
parent 97937a8aa1
commit 99fe216413
15 changed files with 83 additions and 87 deletions
@@ -57,14 +57,12 @@ function addToCompare(productId){
}
function compareButtonsStatusRefresh(){
$('.addToCompare').each(function() {
console.log($(this).data('id-product'));
if ($.inArray(parseInt($(this).data('id-product')),comparedProductsIds)!= -1){
$('.addToCompare').each(function()
{
if ($.inArray(parseInt($(this).data('id-product')),comparedProductsIds)!= -1)
$(this).addClass('checked');
}
else {
else
$(this).removeClass('checked');
}
})
}