diff --git a/static/js/app.js b/static/js/app.js index 4a7e68433..2bcc8feea 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -4815,8 +4815,8 @@ quayApp.directive('ngVisible', function () { }; }); -quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanService', '$http', '$timeout', 'CookieService', - function($location, $rootScope, Restangular, UserService, PlanService, $http, $timeout, CookieService) { +quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanService', '$http', '$timeout', 'CookieService', '$anchorScroll', + function($location, $rootScope, Restangular, UserService, PlanService, $http, $timeout, CookieService, $anchorScroll) { // Handle session security. Restangular.setDefaultRequestParams(['post', 'put', 'remove', 'delete'], {'_csrf_token': window.__token || ''}); @@ -4923,6 +4923,7 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanServi } $rootScope.fixFooter = !!current.$$route.fixFooter; + $anchorScroll(); }); $rootScope.$on('$viewContentLoaded', function(event, current) {