Skip to content
Snippets Groups Projects
Commit 3daa07a2 authored by ayesha-baig's avatar ayesha-baig Committed by GitHub
Browse files

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

Pass proper 'this' context to updateSidebar method so that sidebar co…
parents a26560de da3fb2a8
No related merge requests found
......@@ -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;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment