1 line
591 B
JavaScript
1 line
591 B
JavaScript
theme.SortingCollections=function(){function t(t){this.$container=$(t),this.namespace=".sorting-collections",this.onLoad()}return t.prototype=$.extend({},Section.prototype,t.prototype,{onLoad:function(){var t=this.$container.find("[data-sorting-collections-control]");this.$container.find("[data-sorting-collections-items]");this.$control=t,theme.is_loaded&&(theme.ImagesLazyLoad.update(),theme.ProductReview.update())},onUnload:function(){this.$container.off(this.namespace),this.$control.off()}}),t}(),$(function(){theme.sections.register("sorting-collections",theme.SortingCollections)}); |