From bd0fb6741f50be858c03fffb015d15b6f69079a0 Mon Sep 17 00:00:00 2001 From: Edward Shen <6173958+edward-shen@users.noreply.github.com> Date: Wed, 2 May 2018 18:49:29 -0400 Subject: [PATCH] Fixed typo --- MMM-pages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMM-pages.js b/MMM-pages.js index bd91f09..87db705 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -72,7 +72,7 @@ Module.register('MMM-pages', { break; case 'PAGE_DECREMENT': Log.log(`${this.name} recieved a notification to decrement pages!`); - this.curPage = this.mode(this.curPage - 1, this.config.modules.length); + this.curPage = this.mod(this.curPage - 1, this.config.modules.length); this.updatePages(true); break; case 'DOM_OBJECTS_CREATED':