From bdec10fde31be2a34743e1000bc03ac77c6ff4a6 Mon Sep 17 00:00:00 2001 From: Edward Shen <6173958+edward-shen@users.noreply.github.com> Date: Sun, 6 May 2018 18:11:27 -0400 Subject: [PATCH] fixed bug? --- MMM-pages.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MMM-pages.js b/MMM-pages.js index 4f00827..713f6b1 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -13,7 +13,7 @@ Module.register('MMM-pages', { excludes: ['MMM-page-indicator'], animationTime: 1000, rotationTime: 0, - rotationDelay: 10000, + rotationDelay: 10000 }, /** @@ -109,7 +109,7 @@ Module.register('MMM-pages', { .enumerate((module) => { module.hide( self.config.animationTime / 2, - { lockString: self.identifier }, + { lockString: self.identifier } ); }); @@ -120,7 +120,7 @@ Module.register('MMM-pages', { .enumerate((module) => { module.show( self.config.animationTime / 2, - { lockString: self.identifier }, + { lockString: self.identifier } ); }); }, this.config.animationTime / 2); @@ -135,7 +135,7 @@ Module.register('MMM-pages', { // Incrementing page self.curPage = self.mod( self.curPage + 1, - self.config.modules.length, + self.config.modules.length ); self.sendNotification('PAGE_INCREMENT'); self.updatePages(false);