Created
February 21, 2019 21:13
-
-
Save djrmom/e2f8811e3108a2a5c5f5489f9bef2348 to your computer and use it in GitHub Desktop.
facetwp ascend theme masonry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment