mirror of
https://github.com/documize/community.git
synced 2025-07-21 06:09:42 +02:00
fixed bug with initial jump to page scrolling
This commit is contained in:
parent
6f1b0564e2
commit
dd45a67537
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ export default Component.extend(NotifierMixin, {
|
|||
|
||||
this.set('showToc', is.not.undefined(this.get('pages')) && this.get('pages').get('length') > 0);
|
||||
|
||||
if (is.not.null(this.get('currentPageId'))) {
|
||||
this.send('onEntryClick', this.get('currentPageId'));
|
||||
}
|
||||
// if (is.not.null(this.get('currentPageId'))) {
|
||||
// this.send('onEntryClick', this.get('currentPageId'));
|
||||
// }
|
||||
|
||||
this.setState(this.get('currentPageId'));
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue