FacetWP – proper Atelier grid alignment on ajax refresh

mgibbs189

{{gist file=”test.js” lang=”javascript”}}
<script>
(function($) {
$(document).on(‘facetwp-loaded’, function() {
var $grid = $(‘.product-grid’);
SWIFT.woocommerce.productGridSetup($grid);
});
})(jQuery);
</script>
{{/gist}}