summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users/groups.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js
index 5939731cca1..d7642743548 100644
--- a/settings/js/users/groups.js
+++ b/settings/js/users/groups.js
@@ -118,9 +118,9 @@ GroupList = {
else {
GroupList.noMoreEntries = true;
}
- setTimeout(function () {
+ _.defer(function () {
$(lis).removeClass('transparent');
- }, 0);
+ });
}
GroupList.updating = false;
@@ -188,8 +188,8 @@ GroupList = {
GroupList.getGroupLI(gid).remove();
},
empty: function () {
- $userGroupList.filter(function(item){
- return item.data('gid') !== '';
+ $userGroupList.find('.isgroup').filter(function(index, item){
+ return $(item).data('gid') !== '';
}).remove();
},
initDeleteHandling: function () {