diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-13 19:57:43 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-12-19 18:49:25 +0100 |
commit | 6371b765984a8dc9201f37ca89ce2dcf5d6fb78c (patch) | |
tree | 1bf91378f14c25c85b23eeb373b2fc0d1aa76e01 /core/js | |
parent | b6fcf59881b27f0a0b7541ff6e01921d7a23142e (diff) | |
download | nextcloud-server-6371b765984a8dc9201f37ca89ce2dcf5d6fb78c.tar.gz nextcloud-server-6371b765984a8dc9201f37ca89ce2dcf5d6fb78c.zip |
Since we now always generate an avatar do not load the placeholder
The js and php code differ ever so slightly. So having the placeholder
for a second and then the image is just weird.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/jquery.avatar.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index 54518c75cc7..b44fe5fd631 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -136,11 +136,6 @@ } }); } else { - // We already have the displayname so set the placeholder (to show at least something) - if (!hidedefault) { - $div.imageplaceholder(displayname); - } - var img = new Image(); // If the new image loads successfully set it. |