From 685a3d1fd400501c1a8c7de0af2be775a759364b Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 31 Dec 2015 11:20:47 -0800 Subject: [PATCH] Remove the per-hour counts, until I can figure out how to make them less confusing. --- static/babystats.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/babystats.js b/static/babystats.js index 0c0762e..63929d0 100644 --- a/static/babystats.js +++ b/static/babystats.js @@ -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)); };