Forgotten case
authorCory Chaplin <cory.chaplin@laposte.net>
Sun, 2 Mar 2014 18:55:15 +0000 (19:55 +0100)
committerCory Chaplin <cory.chaplin@laposte.net>
Sun, 2 Mar 2014 18:55:15 +0000 (19:55 +0100)
client/src/applets/chanlist.js

index edabf540867784a83f3b264e69c3db6695dde5f7..a265b32896dab72270845b8e18f91534de08353c 100644 (file)
@@ -98,7 +98,7 @@
         \r
         sortChannelsByUsersClick: function (event) {\r
             // Revert the sorting to switch between orders\r
-            if (this.order == 'user_desc') {\r
+            if (this.order == 'user_desc' || this.order == '') {\r
                 this.order = 'user_asc';\r
             } else {\r
                 this.order = 'user_desc';\r