facetwp ascend theme masonry

djrmom

{{gist file=”script.js” lang=”javascript”}}
(function($) {
$(document).on(‘facetwp-loaded’, function() {
$(“.init-masonry-intrinsic”).each(function() {
var t = $(this)
, e = $(this).data(“masonry-selector”)
, i = !0;
$(“body.rtl”).length && (i = !1),
t.masonry({
itemSelector: e,
isOriginLeft: i
}),
t.find(“.kt_item_fade_in”).each(function(t) {
$(this).delay(75 * t).animate({
opacity: 1
}, 175)
})
})
});
})(jQuery);
{{/gist}}