typo, style

This commit is contained in:
Edward Shen 2018-08-10 16:21:52 -04:00
parent 6f3ac28e69
commit cc1e7d17f8
No known key found for this signature in database
GPG key ID: 4E887A42793D0433

View file

@ -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