From 1b81339dfd8a0982d3e52d78eea8136b83fafedc Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 16 Jan 2015 15:44:14 +0100 Subject: [PATCH] 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 --- settings/js/users/users.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 3e05d12c9a..87d8b1801c 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; });