mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Improve jump-to-section scrolling
This commit is contained in:
parent
7ae801554d
commit
60ef205948
2 changed files with 11 additions and 10 deletions
|
@ -45,12 +45,12 @@ export default Component.extend(Notifier, {
|
|||
didInsertElement() {
|
||||
this._super(...arguments);
|
||||
|
||||
this.jumpToSection(this.get('currentPageId'));
|
||||
},
|
||||
|
||||
didRender() {
|
||||
this._super(...arguments);
|
||||
|
||||
this.jumpToSection(this.get('currentPageId'));
|
||||
this.contentLinkHandler();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue