From e59fc58fd142cef0de5e631a237f56696b1fe826 Mon Sep 17 00:00:00 2001 From: Cory Chaplin Date: Sun, 2 Mar 2014 19:55:15 +0100 Subject: [PATCH] Forgotten case --- client/src/applets/chanlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/applets/chanlist.js b/client/src/applets/chanlist.js index edabf54..a265b32 100644 --- a/client/src/applets/chanlist.js +++ b/client/src/applets/chanlist.js @@ -98,7 +98,7 @@ sortChannelsByUsersClick: function (event) { // Revert the sorting to switch between orders - if (this.order == 'user_desc') { + if (this.order == 'user_desc' || this.order == '') { this.order = 'user_asc'; } else { this.order = 'user_desc'; -- 2.25.1