From 9ef6d119c3d1f96787f0cecb39b30ec117e8bca1 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Thu, 2 Nov 2017 08:43:58 -0400 Subject: [PATCH] more mod panel stuff --- contrib/static/feed.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/static/feed.js b/contrib/static/feed.js index 3e78ba9..4af8497 100644 --- a/contrib/static/feed.js +++ b/contrib/static/feed.js @@ -68,6 +68,13 @@ function update_nntpchan_feed_ticker(elem, result_elem) { elem.children[0].remove(); } var result = j.result; + result.sort(function(a, b) { + var aname = a.State.Config.Name; + var bname = a.state.Config.Name; + if(aname > bname) return 1; + else if (aname < bname) return -1; + else return 0; + }); for (var idx = 0; idx < result.length; idx++) { var item = result[idx]; var entry = document.createElement("div");