Fix reference to nonexistent variable

pull/40/head^2
Scott Nonnenberg 7 years ago
parent cb50451011
commit ca4e2177b4

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

Loading…
Cancel
Save