From: Cory Chaplin Date: Sun, 2 Mar 2014 18:55:15 +0000 (+0100) Subject: Forgotten case X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e59fc58fd142cef0de5e631a237f56696b1fe826;p=KiwiIRC.git Forgotten case --- 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';