From 6e025371bd450404220c22079c58be2a9998fa5e Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Fri, 6 Nov 2020 10:07:21 -0500 Subject: [PATCH] Fix typo. Fixes #49. --- MMM-pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMM-pages.js b/MMM-pages.js index 818061d..1960329 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -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); }