aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
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()
);
});