mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-21 09:44:29 -08:00
typo, style
This commit is contained in:
parent
6f3ac28e69
commit
cc1e7d17f8
1 changed files with 6 additions and 6 deletions
|
@ -74,7 +74,7 @@ Module.register('MMM-pages', {
|
|||
this.updatePages(true);
|
||||
break;
|
||||
case 'PAGE_INCREMENT':
|
||||
Log.log(`${this.name} recieved a notification to increment pages!`);
|
||||
Log.log(`${this.name} received a notification to increment pages!`);
|
||||
this.curPage = this.mod(
|
||||
this.curPage + ((isValidPayload) ? payload : 1),
|
||||
this.config.modules.length
|
||||
|
@ -82,7 +82,7 @@ Module.register('MMM-pages', {
|
|||
this.updatePages(true);
|
||||
break;
|
||||
case 'PAGE_DECREMENT':
|
||||
Log.log(`${this.name} recieved a notification to decrement pages!`);
|
||||
Log.log(`${this.name} received a notification to decrement pages!`);
|
||||
this.curPage = this.mod(
|
||||
this.curPage - ((isValidPayload) ? payload : 1),
|
||||
this.config.modules.length
|
||||
|
|
Loading…
Reference in a new issue