diff options
author | kondou <kondou@ts.unde.re> | 2013-08-29 14:26:11 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-29 14:26:11 +0200 |
commit | 0c708be76bd7c7449779ef12e48e99d9c2cd3d82 (patch) | |
tree | e58bdf611bb96f3f73d469d9a65179dbc1f1838e /settings/js/personal.js | |
parent | e66113f50d9e39e3e370be0e714669f2917f9ccf (diff) | |
download | nextcloud-server-0c708be76bd7c7449779ef12e48e99d9c2cd3d82.tar.gz nextcloud-server-0c708be76bd7c7449779ef12e48e99d9c2cd3d82.zip |
Use defaultavatars
Diffstat (limited to 'settings/js/personal.js')
-rw-r--r-- | settings/js/personal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index e873eb1336e..03f4fbc9da9 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -49,8 +49,8 @@ function selectAvatar (path) { } function updateAvatar () { - $avatarimg = $('#avatar img'); - $avatarimg.attr('src', $avatarimg.attr('src') + '#'); + $('header .avatardiv').avatar(OC.currentUser, 32); + $('#avatar .avatardiv').avatar(OC.currentUser, 128); } function showAvatarCropper() { |