mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Scroll to correct point in document for edit mode
This commit is contained in:
parent
c0d70e38de
commit
412127811e
9 changed files with 35 additions and 16 deletions
|
@ -57,5 +57,10 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
controller.set('permissions', model.permissions);
|
||||
controller.set('roles', model.roles);
|
||||
controller.set('blocks', model.blocks);
|
||||
},
|
||||
|
||||
activate: function() {
|
||||
this._super(...arguments);
|
||||
window.scrollTo(0,0);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue