summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-16 15:44:14 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-01-16 18:11:31 +0100
commit1b81339dfd8a0982d3e52d78eea8136b83fafedc (patch)
tree06d3d20372154fb0f05553b4b1a3eaacfbf37a8c
parent3465604cf9ed20b169da9c1a8bbd31a9afcf9183 (diff)
downloadnextcloud-server-1b81339dfd8a0982d3e52d78eea8136b83fafedc.tar.gz
nextcloud-server-1b81339dfd8a0982d3e52d78eea8136b83fafedc.zip
Drop the hide and show of new users in user list
* causes the first load after the initial load to hide some users in the viewport and showing them again, but with a scrolled up viewport * causes higher load for nearly never visible effects * fixes #12962
-rw-r--r--settings/js/users/users.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 3e05d12c9af..87d8b1801c1 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -404,7 +404,6 @@ var UserList = {
return true;
}
var $tr = UserList.add(user, user.lastLogin, false, user.backend);
- $tr.addClass('appear transparent');
trs.push($tr);
loadedUsers++;
});
@@ -419,12 +418,6 @@ var UserList = {
$userList.siblings('.loading').remove();
}
UserList.offset += loadedUsers;
- // animate
- setTimeout(function() {
- for (var i = 0; i < trs.length; i++) {
- trs[i].removeClass('transparent');
- }
- }, 0);
}).always(function() {
UserList.updating = false;
});