wip
This commit is contained in:
1
public/web/shella/scripts/section.collection-sidebar.min.js
vendored
Normal file
1
public/web/shella/scripts/section.collection-sidebar.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
theme.CollectionSidebar=function(){function e(e){this.$container=$(e),this.namespace=".collection-sidebar",this.onLoad()}return e.prototype=$.extend({},Section.prototype,e.prototype,{_rangePrice:{init:function(){theme.RangeOfPrice&&theme.RangeOfPrice.init()},destroy:function(){theme.RangeOfPrice&&theme.RangeOfPrice.destroy()}},onLoad:function(){theme.StickySidebar&&theme.StickySidebar.init(this.$container,!0),this._rangePrice.init(),theme.is_loaded&&(theme.ImagesLazyLoad.update(),theme.ProductReview.update())},onUnload:function(){this.$container.off(this.namespace),theme.StickySidebar&&theme.StickySidebar.destroy(this.$container,!0),this._rangePrice.destroy()}}),e}(),$(function(){theme.sections.register("collection-sidebar",theme.CollectionSidebar)});
|
||||
Reference in New Issue
Block a user