Skip to content

Commit c631f62

Browse files
authored
Update countly.views.js
1 parent 07178fd commit c631f62

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frontend/express/public/javascripts/countly/countly.views.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,11 @@ window.LoyaltyView = countlyView.extend({
273273
var tDays = (dp[1].data[iTick] && dp[1].data[iTick][1]) ? countlyCommon.formatNumber(dp[1].data[iTick][1]) : 0;
274274
var tDaysPercentage = countlyCommon.formatNumber((100 * tDays) / totals[1], 2);
275275
tDaysPercentage = isNaN(tDaysPercentage) ? 0 : tDaysPercentage;
276-
276+
277277
var sDays = (dp[2].data[iTick] && dp[2].data[iTick][1]) ? countlyCommon.formatNumber(dp[2].data[iTick][1]) : 0;
278278
var sDaysPercentage = countlyCommon.formatNumber((100 * sDays) / totals[2], 2);
279279
sDaysPercentage = isNaN(sDaysPercentage) ? 0 : sDaysPercentage;
280280

281-
282281
chartData.push({
283282
l: ticks[iTick][1],
284283
a: "<div style='float:left;min-width: 40px'>" + all + "</div><div class='percent-bar' style='width:" + (allPercentage * 0.8) + "%'></div>" + allPercentage + "%",
@@ -5686,4 +5685,4 @@ $.ajaxPrefilter(function(options, originalOptions, jqXHR) {
56865685
}
56875686

56885687
}
5689-
});
5688+
});

0 commit comments

Comments
 (0)