Merge pull request #14893 from edx/ayeshabaig/update-sidebar

Pass proper 'this' context to updateSidebar method so that sidebar co…
This commit is contained in:
ayesha-baig
2017-04-17 16:19:16 +05:00
committed by GitHub

View File

@@ -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;
},