Files
backend-mm/public/web/shella/scripts/section.list-collections.min.js
2025-09-25 03:03:31 +05:00

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)});