1 line
441 B
JavaScript
1 line
441 B
JavaScript
theme.BlogBody=function(){function e(e){this.$container=$(e),this.namespace=".blog-body",this.onLoad()}return e.prototype=$.extend({},Section.prototype,e.prototype,{onLoad:function(){theme.is_loaded&&(theme.ImagesLazyLoad.update(),theme.Masonry&&theme.Masonry.init(!0))},onUnload:function(){this.$container.off(this.namespace),theme.Masonry&&theme.Masonry.destroy()}}),e}(),$(function(){theme.sections.register("blog-body",theme.BlogBody)}); |