diff --git a/client/js/chat.js b/client/js/chat.js index 58556a10..ef788d32 100644 --- a/client/js/chat.js +++ b/client/js/chat.js @@ -126,7 +126,9 @@ $(function() { channels: [data.chan] }) ); + sidebar.find(".chan") + .sort(function(a, b) { return $(a).data("id") - $(b).data("id") }) .last() .trigger("click"); }); diff --git a/package.json b/package.json index 0aeccd32..fc8c38e9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "A web IRC client", - "version": "0.10.8", + "version": "0.10.9", "author": "Mattias Erming", "preferGlobal": true, "bin": {