summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-08-06 13:35:57 +0200
committerGitHub <noreply@github.com>2020-08-06 13:35:57 +0200
commitc24f3d1336e5bf268cca2084da04ae5df4ecddb4 (patch)
tree51ffe2fce9c19bdc5c217140f34d58415fe23982
parent3f1c48598dc5aa903942d5aa90c550b7f9b4c01f (diff)
parent42a265ca383987cf7a9c4f288bb78db39754347c (diff)
downloadnextcloud-server-c24f3d1336e5bf268cca2084da04ae5df4ecddb4.tar.gz
nextcloud-server-c24f3d1336e5bf268cca2084da04ae5df4ecddb4.zip
Merge pull request #21173 from nextcloud/design/navigation-install
Fix empty 'more' apps navigation after installing an app
-rw-r--r--apps/settings/js/apps.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/js/apps.js b/apps/settings/js/apps.js
index 70857a8f201..a3c1650e445 100644
--- a/apps/settings/js/apps.js
+++ b/apps/settings/js/apps.js
@@ -42,11 +42,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
var a = $('<a></a>').attr('href', entry.href);
var filename = $('<span></span>');
var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
- filename.text(entry.name); filename.text(entry.name);
+ filename.text(entry.name);
a.prepend(loading);
+ a.prepend(filename);
a.prepend(img);
li.append(a);
- li.append(filename);
// add app icon to the navigation
var previousElement = $('#navigation li[data-id=' + previousEntry.id + ']');
@@ -84,9 +84,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
filename.text(entry.name);
a.prepend(loading);
+ a.prepend(filename);
a.prepend(img);
li.append(a);
- li.append(filename);
// add app icon to the navigation
var previousElement = $('#appmenu li[data-id=' + previousEntry.id + ']');