mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
fixes #5428
This commit is contained in:
@@ -102,6 +102,10 @@ define('forum/topic/posts', [
|
||||
return;
|
||||
}
|
||||
|
||||
if (!isPreviousPostAdded && data.posts[0].selfPost) {
|
||||
return ajaxify.go('post/' + data.posts[0].pid);
|
||||
}
|
||||
|
||||
createNewPosts(data, components.get('post').not('[data-index=0]'), direction, function (html) {
|
||||
if (html) {
|
||||
html.addClass('new');
|
||||
|
||||
Reference in New Issue
Block a user