From 3d2a577026e5de5c65a9e2da66f53ebdfabbdd8b Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 31 Dec 2015 00:08:42 -0800 Subject: [PATCH] Update the display page on a timer as well, so durations increase when nothing else is happening. --- static/babystats.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/babystats.js b/static/babystats.js index ab53e19..a94316d 100644 --- a/static/babystats.js +++ b/static/babystats.js @@ -336,6 +336,7 @@ BabyStats.prototype.buildCells_ = function() { cell.addEventListener('click', this.onClick_.bind(this, tile, overlay)); }, this); window.setInterval(this.updateTileStatus_.bind(this), 60 * 1000); + window.setInterval(this.updateDisplayPage_.bind(this), 60 * 1000); };