From: Cory Chaplin Date: Thu, 27 Mar 2014 16:20:42 +0000 (+0100) Subject: Remove data setting from render function in chanlist X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=23ab8ee5c71100328d93087134249a80bc582143;p=KiwiIRC.git Remove data setting from render function in chanlist --- diff --git a/client/src/applets/chanlist.js b/client/src/applets/chanlist.js index 9c9cccb..9135712 100644 --- a/client/src/applets/chanlist.js +++ b/client/src/applets/chanlist.js @@ -33,8 +33,6 @@ that = this, i; - this.sorting_channels = false; - this.channels = this.sortChannels(this.channels, this.order); // Create the sort icon container and clean previous any previous ones @@ -177,9 +175,6 @@ addChannel: function (channels) { var that = this; - // If we're sorting channels, dont rebuild the channel list - if(this.view.sorting_channels) return; - if (!_.isArray(channels)) { channels = [channels]; }