fix avatar loading for generic placeholders

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-10-31 14:42:21 +01:00
parent d0f2f5f1de
commit 582d2d36ee
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

@ -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()
);
});