From 616fd4b54aa8c7fed6f2d8a385bcf50867645b29 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 16 Jan 2015 18:04:29 +0100 Subject: Increase initial user count to 50 * fix initial user count if you have a big screen (or a portrait screen) --- settings/js/users/users.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'settings/js') diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 63bba72508e..db76ed00999 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -12,7 +12,7 @@ var filter; var UserList = { availableGroups: [], - offset: 30, //The first 30 users are there. No prob, if less in total. + offset: 50, //The first 30 users are there. No prob, if less in total. //hardcoded in settings/users.php usersToLoad: 10, //So many users will be loaded when user scrolls down @@ -215,11 +215,11 @@ var UserList = { } }, checkUsersToLoad: function() { - //30 shall be loaded initially, from then on always 10 upon scrolling + //50 shall be loaded initially, from then on always 10 upon scrolling if(UserList.isEmpty === false) { UserList.usersToLoad = 10; } else { - UserList.usersToLoad = 30; + UserList.usersToLoad = 50; } }, empty: function() { -- cgit v1.2.3