jQuery(function() {
'use strict';
var container = jQuery('#cont_2039'); var filt = jQuery('#filt_2039'); var filtA = filt.find('a'); filtA.eq(0).addClass('active');
var selector = filtA.eq(0).attr('data-filter'); window.onload = function(){ container.isotope({ filter: selector }); }
// filt.find("a[data-filter="*"]").addClass('active');
filtA.click(function(){
filtA.removeClass('active'); jQuery(this).addClass('active'); selector = jQuery(this).attr('data-filter'); container.isotope({ filter: selector }); return false;
});
/*** USED FOR WINDOW RESIZE ***/ jQuery(window).resize(function() {
container.isotope({});
});
});