Fixed typo

This commit is contained in:
Edward Shen 2018-05-02 18:49:29 -04:00 committed by GitHub
parent 00b7d6d7b9
commit bd0fb6741f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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