');
}
});
if (typeof jQuery.fn.slider === 'undefined') {
jQuery.getScript('catalog/view/javascript/jquery-ui.slider.min.js', function(){
def.resolve();
jQuery('head').append('
');
BrainyFilter.init();
});
} else {
def.resolve();
BrainyFilter.init();
}
}
});
BrainyFilter.sliderValues = BrainyFilter.sliderValues || {};
//DEAWid
$('.color-label').click(function(){
var forId = $(this).attr('for');
var forCheckbox = $('#'+forId);
if(forCheckbox.prop('checked') == true){
$(this).removeClass('active');
}else{
$(this).addClass('active');
}
});