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

This commit is contained in:
psychobunny
2015-03-18 14:55:16 -04:00
parent 98c54c3ccb
commit e9d9e14eb4

View File

@@ -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');
}
}