Fix typo. Fixes #49.

This commit is contained in:
Edward Shen 2020-11-06 10:07:21 -05:00
parent c7b3cd9824
commit 6e025371bd
Signed by: edward
GPG key ID: F350507060ED6C90

View file

@ -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);
}