Commit 3daa07a2 by ayesha-baig Committed by GitHub

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

Pass proper 'this' context to updateSidebar method so that sidebar co…
parents a26560de da3fb2a8
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
el: this.$('.forum-search') el: this.$('.forum-search')
}).render(); }).render();
this.renderBreadcrumbs(); this.renderBreadcrumbs();
$(window).bind('load scroll resize', this.updateSidebar); $(window).bind('load scroll resize', _.bind(this.updateSidebar, this));
this.showBrowseMenu(true); this.showBrowseMenu(true);
return this; return this;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment