mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-24 19:24:30 -08:00
also set current page during initialization
This commit is contained in:
parent
79e132b007
commit
87f6b1eba1
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ Module.register('MMM-pages', {
|
||||||
Log.log('[Pages]: received that all objects are created;'
|
Log.log('[Pages]: received that all objects are created;'
|
||||||
+ 'will now hide things!');
|
+ 'will now hide things!');
|
||||||
this.sendNotification('MAX_PAGES_CHANGED', this.config.modules.length);
|
this.sendNotification('MAX_PAGES_CHANGED', this.config.modules.length);
|
||||||
|
this.sendNotification('PAGE_CHANGED', this.curPage);
|
||||||
this.animatePageChange();
|
this.animatePageChange();
|
||||||
this.resetTimerWithDelay(0);
|
this.resetTimerWithDelay(0);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue