Remove the per-hour counts, until I can figure out how to make them less confusing.

This commit is contained in:
Ian Gulliver
2015-12-31 11:20:47 -08:00
parent cbc4fa4cee
commit 685a3d1fd4

View File

@@ -795,10 +795,8 @@ BabyStats.prototype.updateDisplayPage_ = function() {
}.bind(this));
cutoffs.forEach(function(cutoff, i) {
var hours = cutoff[1] / (60 * 60);
var perHour = Math.round((counts[i] / hours) * 100) / 100;
this.displayEventCountCells_[tile.type][cutoff[0]].textContent =
counts[i] + '\n(' + perHour + '/hour)';
counts[i];
}.bind(this));
}.bind(this));
};