commento.js: reverse sorting algorithm
This commit is contained in:
parent
36d57914b2
commit
ac9f896a22
@ -588,7 +588,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
cur.sort(function(a, b) {
|
cur.sort(function(a, b) {
|
||||||
return a.score - b.score;
|
return b.score - a.score;
|
||||||
});
|
});
|
||||||
|
|
||||||
var cards = create("div");
|
var cards = create("div");
|
||||||
|
Loading…
Reference in New Issue
Block a user