summaryrefslogtreecommitdiffstats
path: root/settings/js/users
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 07:56:02 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 16:30:23 +0100
commit6248bad0f7b23c16049045ea150a11948b0ebeb1 (patch)
tree71a72d456851e8b6eec69954c26816b5c4b482c4 /settings/js/users
parent3818a055b96a528263585b93f598fb479b5a1ec4 (diff)
downloadnextcloud-server-6248bad0f7b23c16049045ea150a11948b0ebeb1.tar.gz
nextcloud-server-6248bad0f7b23c16049045ea150a11948b0ebeb1.zip
Add a default size to the avatar placeholders
This removed the need to do an avatar request on the "empty" row in the user settings.
Diffstat (limited to 'settings/js/users')
-rw-r--r--settings/js/users/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 9b95408dd0a..aea94053572 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -68,7 +68,7 @@ var UserList = {
if (user.isAvatarAvailable === true) {
$('div.avatardiv', $tr).avatar(user.name, 32, undefined, undefined, undefined, user.displayname);
} else {
- $('div.avatardiv', $tr).imageplaceholder(user.displayname);
+ $('div.avatardiv', $tr).imageplaceholder(user.displayname, undefined, 32);
}
}