diff options
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() { |