Помогите разобраться почему перестал работать скрипт.
есть страница
http://www.mega-pools.ru/category-1
1. при нажатие на кнопку "в корзину" всплывает окно.
2. если в фильтре выбрать бренд, обновляется страница и кнопка "в корзину" перестает работать.
в низу сайта все так же стоит скрипт.
<!-- обновление скриптов через Ajax -->
<script type="text/javascript">
jQuery(".searchandfilter").on("sf:ajaxfinish",function(){
jQuery("a[class*=et-shop-item]").fancybox({
'overlayOpacity' : 0.7,
'overlayColor' : '#000000',
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'easingIn' : 'easeOutBack',
'easingOut' : 'easeInBack',
'speedIn' : '700',
'centerOnScroll' : true,
'autoDimensions' : false
});
jQuery(function(){
var $project_item = jQuery('.main-product');
$project_item.mouseenter(function(e) {
move_thumb(jQuery(this),e);
//jQuery(this).children(".boutique_description_border").css({'display':'block', 'opacity':'0', 'top': y, 'left': x + 10}).stop(true,true).animate({'opacity': 1,'left': x},400);
jQuery(this).children(".boutique_description_border").css({'display':'block', 'opacity':'0', 'top': y, 'left': x + 10}).stop(true,true).animate({'opacity': 1},400);
}).mousemove(function(e) {
move_thumb(jQuery(this),e);
jQuery(this).children(".boutique_description_border").css({'top': y + 10,'left': x + 20});
}).mouseleave(function() {
jQuery(this)
.children(".boutique_description_border")
.stop(true,true).animate({"opacity": "hide"}, "fast");
});
function move_thumb(this_element,event_name){
x = event_name.pageX - this_element.offset().left;
y = event_name.pageY - this_element.offset().top;
};
});
});
</script>
<!-- /обновление скриптов через Ajax -->