1 line
469 B
JavaScript
1 line
469 B
JavaScript
theme.listCollections=function(){function t(t){this.$container=$(t),this.namespace=".list-collections",this.onLoad()}return t.prototype=$.extend({},Section.prototype,t.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()}}),t}(),$(function(){theme.sections.register("list-collections",theme.listCollections)}); |