summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-24 23:13:46 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 00:22:57 +0200
commitcf588f03bf91c24115e77c47f50e631f6f54a227 (patch)
treeae9eba3983d69f70f072535309bcc2e645dae5cd /settings/js
parent2fbf1114aced77a3840ee024d925efb8671458fb (diff)
downloadnextcloud-server-cf588f03bf91c24115e77c47f50e631f6f54a227.tar.gz
nextcloud-server-cf588f03bf91c24115e77c47f50e631f6f54a227.zip
Center spinner in apps management
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index d4d10ddc951..c8001822083 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -74,8 +74,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
if (this._loadCategoryCall) {
this._loadCategoryCall.abort();
}
+
+ $('#app-content').addClass('icon-loading');
$('#apps-list')
- .addClass('icon-loading')
.removeClass('hidden')
.html('');
$('#apps-list-empty').addClass('hidden');
@@ -166,7 +167,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
});
},
complete: function() {
- $('#apps-list').removeClass('icon-loading');
+ $('#app-content').removeClass('icon-loading');
}
});
},