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

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