Update the display page on a timer as well, so durations increase when nothing else is happening.
This commit is contained in:
@@ -336,6 +336,7 @@ BabyStats.prototype.buildCells_ = function() {
|
|||||||
cell.addEventListener('click', this.onClick_.bind(this, tile, overlay));
|
cell.addEventListener('click', this.onClick_.bind(this, tile, overlay));
|
||||||
}, this);
|
}, this);
|
||||||
window.setInterval(this.updateTileStatus_.bind(this), 60 * 1000);
|
window.setInterval(this.updateTileStatus_.bind(this), 60 * 1000);
|
||||||
|
window.setInterval(this.updateDisplayPage_.bind(this), 60 * 1000);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user