mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
components - fixed a bug with bottom post bar now showing up
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user