From 1b57de278484f0bd0eb0bb56e89198ee5d55198f Mon Sep 17 00:00:00 2001 From: Cory Chaplin Date: Thu, 27 Mar 2014 00:11:21 +0100 Subject: [PATCH] Fixes to take comments into account --- client/src/applets/chanlist.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/applets/chanlist.js b/client/src/applets/chanlist.js index 9791a4a..c85bba8 100644 --- a/client/src/applets/chanlist.js +++ b/client/src/applets/chanlist.js @@ -33,12 +33,14 @@ that = this, i; + this.sorting_channels = false; + if (override_channels !== undefined) { that.channels = override_channels; tbody.remove(); this.sorting_channels = true; } else { - that.channels = this.sortChannels(this.channels, this.order); + this.channels = this.sortChannels(this.channels, this.order); } // Create the sort icon container and clean previous any previous ones -- 2.25.1