mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 23:12:58 +01:00
fix: nested replies not updating when icon is used
This commit is contained in:
@@ -96,8 +96,8 @@ define('forum/topic/replies', ['forum/topic/posts', 'hooks', 'alerts'], function
|
||||
}
|
||||
|
||||
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="avatar/picture"]'));
|
||||
app.parseAndTranslate('topic', 'posts', { posts: [{ replies: { hasMore: false, users: [post.user] } }] }, function (html) {
|
||||
avatars.prepend(html.find('[component="post/reply-count/avatars"]').html());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user