diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 07:56:02 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-17 16:30:23 +0100 |
commit | 6248bad0f7b23c16049045ea150a11948b0ebeb1 (patch) | |
tree | 71a72d456851e8b6eec69954c26816b5c4b482c4 /core/js/avatar.js | |
parent | 3818a055b96a528263585b93f598fb479b5a1ec4 (diff) | |
download | nextcloud-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 'core/js/avatar.js')
-rw-r--r-- | core/js/avatar.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/js/avatar.js b/core/js/avatar.js index 10214c35fbe..78b8c2a8cf5 100644 --- a/core/js/avatar.js +++ b/core/js/avatar.js @@ -2,8 +2,4 @@ $(document).ready(function(){ if (OC.currentUser) { } - // User settings - $.each($('td.avatar .avatardiv'), function(i, element) { - $(element).avatar($(element).parent().parent().data('uid'), 32); - }); }); |