jQuery(document).ready(function(o){$blocks=o("#post_masonry"),$blocks.imagesLoaded(function(){$blocks.masonry({itemSelector:".post-container, #infinite-handle"}),o(".post-container").fadeIn()}),o(document).ready(function(){setTimeout(function(){$blocks.masonry()},500)}),o(window).resize(function(){$blocks.masonry()}),o(document.body).on("post-load",function(){var n=o("#post_masonry");n.masonry("reloadItems"),$blocks.imagesLoaded(function(){$blocks.masonry({itemSelector:".post-container"}),o(".post-container").fadeIn()})})});