From: Jan-Christoph Borchardt Date: Wed, 7 Aug 2013 19:53:53 +0000 (+0200) Subject: scroll the app navigation down so the newly added app is seen X-Git-Tag: v6.0.0alpha2~334^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a9daa99d1e801620affb38bf78a7323a59ed908;p=nextcloud-server.git scroll the app navigation down so the newly added app is seen --- 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();