Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-12-13 21:57:43 +0300
committerJulius Härtl <jus@bitgrid.net>2017-12-19 20:49:25 +0300
commit6371b765984a8dc9201f37ca89ce2dcf5d6fb78c (patch)
tree1bf91378f14c25c85b23eeb373b2fc0d1aa76e01 /core
parentb6fcf59881b27f0a0b7541ff6e01921d7a23142e (diff)
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')
-rw-r--r--core/js/jquery.avatar.js5
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.