dashboard-statistics.js: namespace numberify with global

This commit is contained in:
Adhityaa Chandrasekar 2019-01-31 02:25:05 -05:00
parent 6caa3e312c
commit 815628c5ee

View File

@ -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));
}); });