mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
dashboard-statistics.js: namespace numberify with global
This commit is contained in:
@ -98,10 +98,10 @@
|
|||||||
series: [comments],
|
series: [comments],
|
||||||
}, options);
|
}, options);
|
||||||
|
|
||||||
data.domains[data.cd].viewsLast30Days = numberify(views.reduce(function(a, b) {
|
data.domains[data.cd].viewsLast30Days = global.numberify(views.reduce(function(a, b) {
|
||||||
return a + b;
|
return a + b;
|
||||||
}, 0));
|
}, 0));
|
||||||
data.domains[data.cd].commentsLast30Days = numberify(comments.reduce(function(a, b) {
|
data.domains[data.cd].commentsLast30Days = global.numberify(comments.reduce(function(a, b) {
|
||||||
return a + b;
|
return a + b;
|
||||||
}, 0));
|
}, 0));
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user