mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-21 17:54:29 -08:00
Fix typo. Fixes #49.
This commit is contained in:
parent
c7b3cd9824
commit
6e025371bd
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ Module.register('MMM-pages', {
|
||||||
fixed: ['MMM-page-indicator'],
|
fixed: ['MMM-page-indicator'],
|
||||||
animationTime: 1000,
|
animationTime: 1000,
|
||||||
rotationTime: 0,
|
rotationTime: 0,
|
||||||
rotationFirstPage: 0, // Keep for compatibility
|
rotationFirstPage: 0, // Keep for compatibility
|
||||||
rotationHomePage: 0,
|
rotationHomePage: 0,
|
||||||
rotationDelay: 10000,
|
rotationDelay: 10000,
|
||||||
homePage: 0
|
homePage: 0
|
||||||
|
@ -239,7 +239,7 @@ Module.register('MMM-pages', {
|
||||||
|
|
||||||
this.delayTimer = setTimeout(() => {
|
this.delayTimer = setTimeout(() => {
|
||||||
self.timer = setInterval(() => {
|
self.timer = setInterval(() => {
|
||||||
self.notificationReceived('PAGE_CHANGED', self.homePage);
|
self.notificationReceived('PAGE_CHANGED', self.config.homePage);
|
||||||
}, self.config.rotationHomePage);
|
}, self.config.rotationHomePage);
|
||||||
}, delay);
|
}, delay);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue