From 128b92287318fbe7a0d89d6f6cb3a6668c22805e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 3 Aug 2017 13:29:28 -0400 Subject: [PATCH] fixes #5428 --- public/src/client/topic/posts.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index 1773357122..626fcde6bd 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -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');