Skip to content

Node.js based forum software built for the modern web

components - fixed a bug with bottom post bar now showing up

psychobunnye9d9e14eb40a
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js
index e6dffa75c4..c2ea3940ff 100644
--- a/public/src/client/topic/posts.js
+++ b/public/src/client/topic/posts.js
@@ -239,7 +239,7 @@ define('forum/topic/posts', [
};
function showBottomPostBar() {
- if(components.get('post', 'index').length > 1 || !components.get('post', 'index', 0).length) {
+ if(components.get('post').length > 1 || !components.get('post', 'index', 0).length) {
$('.bottom-post-bar').removeClass('hide');
}
}