Merge pull request #3689 from FinnStutzenstein/scrollToTop
Scroll to top on every state change
This commit is contained in:
commit
47dfff2199
@ -125,6 +125,7 @@ Core:
|
|||||||
- Added --no-template-caching flag to disable template caching for
|
- Added --no-template-caching flag to disable template caching for
|
||||||
easier development [#3566].
|
easier development [#3566].
|
||||||
- Reset scroll level for each new projection [#3686].
|
- Reset scroll level for each new projection [#3686].
|
||||||
|
- Scroll to top on every state change [#3689].
|
||||||
|
|
||||||
Mediafiles:
|
Mediafiles:
|
||||||
- New form for uploading multiple files [#3650].
|
- New form for uploading multiple files [#3650].
|
||||||
|
@ -160,6 +160,8 @@ angular.module('OpenSlidesApp.core.site', [
|
|||||||
} else {
|
} else {
|
||||||
$rootScope.baseViewPermissionsGranted = true;
|
$rootScope.baseViewPermissionsGranted = true;
|
||||||
}
|
}
|
||||||
|
// Scroll to top on every state change
|
||||||
|
$rootScope.gotoTop();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user