Scroll to top on every state change

This commit is contained in:
FinnStutzenstein 2018-04-10 08:23:10 +02:00 committed by Emanuel Schütze
parent 272552055c
commit 634dd70f90
2 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,7 @@ Core:
- Added --no-template-caching flag to disable template caching for
easier development [#3566].
- Reset scroll level for each new projection [#3686].
- Scroll to top on every state change [#3689].
Mediafiles:
- New form for uploading multiple files [#3650].

View File

@ -160,6 +160,8 @@ angular.module('OpenSlidesApp.core.site', [
} else {
$rootScope.baseViewPermissionsGranted = true;
}
// Scroll to top on every state change
$rootScope.gotoTop();
});
}
])