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:
parent
b6fcf59881
commit
6371b76598
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue