mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
fixes #5428
This commit is contained in:
@@ -102,6 +102,10 @@ define('forum/topic/posts', [
|
|||||||
return;
|
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) {
|
createNewPosts(data, components.get('post').not('[data-index=0]'), direction, function (html) {
|
||||||
if (html) {
|
if (html) {
|
||||||
html.addClass('new');
|
html.addClass('new');
|
||||||
|
|||||||
Reference in New Issue
Block a user