Update the display page on a timer as well, so durations increase when nothing else is happening.

This commit is contained in:
Ian Gulliver
2015-12-31 00:08:42 -08:00
parent 4633f4bf94
commit 3d2a577026

View File

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