diff --git a/src/views/appstore.js b/src/views/appstore.js index c4897b0d6..1be448687 100644 --- a/src/views/appstore.js +++ b/src/views/appstore.js @@ -363,7 +363,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca }); } - document.getElementById('appstoreGrid').scrollIntoView(); + if (document.getElementById('appstoreGrid')) document.getElementById('appstoreGrid').scrollIntoView(); }); };