aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-10-31 14:42:21 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-10-31 14:42:21 +0100
commit582d2d36ee9cdbde891000608ff5f68f1efcfda8 (patch)
treeb26c21438431c0989f9e2708b21a60d1fa1b2e2b /apps/comments
parentd0f2f5f1deeec673046ecdea139d143397ecea6a (diff)
downloadnextcloud-server-582d2d36ee9cdbde891000608ff5f68f1efcfda8.tar.gz
nextcloud-server-582d2d36ee9cdbde891000608ff5f68f1efcfda8.zip
fix avatar loading for generic placeholders
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/js/commentstabview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 5d0edc9bafa..4ffa76112a1 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -215,7 +215,7 @@
// passing the whole comments form would re-apply and request
// avatars from the server
$(je.target).find(
- 'div[data-user-display-name="' + $el.text().trim() + '"]'
+ 'div[data-username="' + $el.find('[data-username]').data('username') + '"]'
).parent()
);
});