Pass proper 'this' context to updateSidebar method so that sidebar could resize properly on load, scroll.
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
el: this.$('.forum-search')
|
||||
}).render();
|
||||
this.renderBreadcrumbs();
|
||||
$(window).bind('load scroll resize', this.updateSidebar);
|
||||
$(window).bind('load scroll resize', _.bind(this.updateSidebar, this));
|
||||
this.showBrowseMenu(true);
|
||||
return this;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user