Fix reference to nonexistent variable
This commit is contained in:
parent
55c3d9371e
commit
a780fa3bab
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue