mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 10:31:55 +08:00
luci-app-statistics: correctness fixes
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -266,7 +266,7 @@ return baseclass.extend({
|
||||
else if (x && y && x[0] != y[0])
|
||||
return +x[0] - +y[0];
|
||||
else
|
||||
return a > b;
|
||||
return a < b ? -1 : a > b ? 1 : 0;
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user