Files
postshop-backend/public/web/shella/scripts/section.footbar.min.js
2026-02-03 15:31:29 +05:00

1 line
556 B
JavaScript

theme.Footbar=function(){function t(t){this.$container=$(t),this.namespace=".footbar",this.onLoad()}return t.prototype=$.extend({},Section.prototype,t.prototype,{onLoad:function(){theme.Notifications&&theme.Notifications.init(this.$container),theme.ProductFootbar&&theme.ProductFootbar.init(this.$container)},onUnload:function(){this.$container.off(this.namespace),theme.Notifications&&theme.Notifications.destroy(this.$container),theme.ProductFootbar&&theme.ProductFootbar.destroy()}}),t}(),$(function(){theme.sections.register("footbar",theme.Footbar)});