Node.js based forum software built for the modern web
closes #4565
barisusaklif473e03f76c6
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.jsindex 605994c9e6..88d80a3872 100644--- a/public/src/client/topic/posts.js+++ b/public/src/client/topic/posts.js@@ -336,8 +336,9 @@ define('forum/topic/posts', [Posts.showBottomPostBar = function() {var mainPost = components.get('post', 'index', 0);var posts = $('[component="post"]');- if (!!mainPost.length && posts.length > 1 && $('.post-bar').length < 2) {+ if (!!mainPost.length && posts.length > 1 && $('.post-bar').length < 2 && $('.post-bar-placeholder').length) {$('.post-bar').clone().appendTo(mainPost);+ $('.post-bar-placeholder').remove();} else if (mainPost.length && posts.length < 2) {mainPost.find('.post-bar').remove();}