Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-07 23:53:53 +0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-07 23:53:53 +0400
commit7a9daa99d1e801620affb38bf78a7323a59ed908 (patch)
tree59079cf61712cefb37c3911a7300e3543468aed4 /settings/js
parent775f33cc1b64bdd6ed48039fdd91331f0e91826d (diff)
scroll the app navigation down so the newly added app is seen
Diffstat (limited to 'settings/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();