aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r--settings/js/apps.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 66606afad80..545d005eff4 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -154,6 +154,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
li.append(a);
// prepend the new app before the 'More apps' function
$('#apps-management').before(li);
+ // scroll the app navigation down so the newly added app is seen
+ $('#navigation').animate({ scrollTop: $('#apps').height() }, 'slow');
if (!SVGSupport() && entry.icon.match(/\.svg$/i)) {
$(img).addClass('svg');
replaceSVG();