Skip to content

Node.js based forum software built for the modern web

fix: avatar selector

Barış Soner Uşaklı4b9444f1a5b7
diff --git a/public/src/client/topic/replies.js b/public/src/client/topic/replies.js
index 5f3aeaad35..bbdde3be62 100644
--- a/public/src/client/topic/replies.js
+++ b/public/src/client/topic/replies.js
@@ -93,7 +93,7 @@ define('forum/topic/replies', ['navigator', 'components', 'forum/topic/posts'],
if (!avatars.find('[data-uid="' + post.uid + '"]').length && count < 7) {
app.parseAndTranslate('topic', 'posts', { posts: [{ replies: { users: [post.user] } }] }, function (html) {
- avatars.prepend(html.find('[component="post/reply-count/avatars"] [component="user/picture"]'));
+ avatars.prepend(html.find('[component="post/reply-count/avatars"] [component="avatar/picture"]'));
});
}