mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Updated templates a bit, and improved frontpage sorting
This commit is contained in:
@@ -25,6 +25,8 @@ var Helper = {
|
||||
field, name, cmp;
|
||||
|
||||
var default_cmp = function (a, b) {
|
||||
if(a == undefined) a = 0;
|
||||
if(b == undefined) b = 0;
|
||||
if (a === b) return 0;
|
||||
return a < b ? -1 : 1;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user