1
mirror of https://gitlab.com/commento/commento.git synced 2026-06-17 09:55:27 -04:00

commento.js: reverse sorting algorithm

This commit is contained in:
Adhityaa Chandrasekar
2018-09-28 09:39:02 -04:00
parent 36d57914b2
commit ac9f896a22
+1 -1
View File
@@ -588,7 +588,7 @@
}
cur.sort(function(a, b) {
return a.score - b.score;
return b.score - a.score;
});
var cards = create("div");