Avoid throwing error on quick view switch away from the appstore

This commit is contained in:
Johannes Zellner
2019-05-06 11:47:57 +02:00
parent 59a54f8683
commit a3d0ffb7de
+1 -1
View File
@@ -363,7 +363,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
});
}
document.getElementById('appstoreGrid').scrollIntoView();
if (document.getElementById('appstoreGrid')) document.getElementById('appstoreGrid').scrollIntoView();
});
};