Fix reference to nonexistent variable

This commit is contained in:
Scott Nonnenberg 2018-11-14 15:22:38 -08:00
parent 55c3d9371e
commit a780fa3bab

View file

@ -29,11 +29,7 @@ function initialize({ events, storage, navigator, logger }) {
runWhenOnline();
events.on('timetravel', () => {
if (initialized) {
scheduleNextRotation();
}
});
events.on('timetravel', scheduleNextRotation);
function scheduleNextRotation() {
const now = Date.now();