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>
This commit is contained in:
Roeland Jago Douma 2017-12-13 19:57:43 +01:00 committed by Julius Härtl
parent b6fcf59881
commit 6371b76598
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 0 additions and 5 deletions

View File

@ -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.