mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-12-22 00:35:09 -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'],
|
||||
animationTime: 1000,
|
||||
rotationTime: 0,
|
||||
rotationFirstPage: 0, // Keep for compatibility
|
||||
rotationFirstPage: 0, // Keep for compatibility
|
||||
rotationHomePage: 0,
|
||||
rotationDelay: 10000,
|
||||
homePage: 0
|
||||
|
@ -239,7 +239,7 @@ Module.register('MMM-pages', {
|
|||
|
||||
this.delayTimer = setTimeout(() => {
|
||||
self.timer = setInterval(() => {
|
||||
self.notificationReceived('PAGE_CHANGED', self.homePage);
|
||||
self.notificationReceived('PAGE_CHANGED', self.config.homePage);
|
||||
}, self.config.rotationHomePage);
|
||||
}, delay);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue