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

1 line
503 B
JavaScript

theme.BlogSidebar=function(){function e(e){this.$container=$(e),this.namespace=".blog-sidebar",this.onLoad()}return e.prototype=$.extend({},Section.prototype,e.prototype,{onLoad:function(){theme.StickySidebar&&theme.StickySidebar.init(this.$container),theme.is_loaded&&theme.ImagesLazyLoad.update()},onUnload:function(){this.$container.off(this.namespace),theme.StickySidebar&&theme.StickySidebar.destroy(this.$container)}}),e}(),$(function(){theme.sections.register("blog-sidebar",theme.BlogSidebar)});