mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-12-22 00:35:09 -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;'
|
||||
+ 'will now hide things!');
|
||||
this.sendNotification('MAX_PAGES_CHANGED', this.config.modules.length);
|
||||
this.sendNotification('PAGE_CHANGED', this.curPage);
|
||||
this.animatePageChange();
|
||||
this.resetTimerWithDelay(0);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue