}
});
- S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() {
+ S(window).off('.topbar').on('resize.fndtn.topbar', self.throttle(function() {
self.resize.call(self);
- }, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){
+ }, 50)).trigger('resize').trigger('resize.fndtn.topbar').load(function(){
// Ensure that the offset is calculated after all of the pages resources have loaded
- S(this).trigger("resize.fndtn.topbar");
+ S(this).trigger('resize.fndtn.topbar');
});
S('body').off('.topbar').on('click.fndtn.topbar', function (e) {