diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index 82a14915ca..5ce9e5d025 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -133,16 +133,12 @@ module.exports = React.createClass({ this.updateTitle(); this.updateUnreadIndicators(); - - $('.nav-pills__container').on('scroll', this.onScroll); }, componentDidUpdate: function() { this.updateTitle(); this.updateUnreadIndicators(); }, componentWillUnmount: function() { - $('.nav-pills__container').off('scroll', this.onScroll); - ChannelStore.removeChangeListener(this.onChange); UserStore.removeChangeListener(this.onChange); UserStore.removeStatusesChangeListener(this.onChange); @@ -416,7 +412,7 @@ module.exports = React.createClass({