diff options
author | kondou <kondou@ts.unde.re> | 2013-08-17 11:01:47 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-25 21:05:40 +0200 |
commit | 9c12da6a94578002aef016d7196a78acf2623eb7 (patch) | |
tree | 603c0a43ba7374eb8951272d879edc8df0774f55 /settings/js | |
parent | d7e6c77e208f561f994ce7b9f2274fb30b75049f (diff) | |
download | nextcloud-server-9c12da6a94578002aef016d7196a78acf2623eb7.tar.gz nextcloud-server-9c12da6a94578002aef016d7196a78acf2623eb7.zip |
Several improvements
- Don't use gravatars default avatars
- Use "profile image" instead of "avatar"
- Use <p> instead of tables
- Ease updateAvatar()
- Actually return something in \OCP\Avatar
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/personal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index 8336e9c8362..74ea7f26ebf 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -55,7 +55,7 @@ function selectAvatar (path) { } function updateAvatar () { - $('#avatar img').attr('src', OC.filePath('', '', 'avatar.php?user='+OC.currentUser+'&size=128')); + $('#avatar img').attr('src', $('#avatar img').attr('src') + '#'); } $(document).ready(function(){ |