mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-01 10:01:12 +01:00
bugfix: show post row for new topic on previously empty category
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
</div>
|
||||
</li></a>
|
||||
<!-- END topics -->
|
||||
<hr />
|
||||
</ul>
|
||||
<hr />
|
||||
<button id="new_post" class="btn btn-primary btn-large {show_category_features}">New Topic</button>
|
||||
</div>
|
||||
<div class="span3 {show_category_features} category-sidebar">
|
||||
@@ -112,7 +112,7 @@
|
||||
numTopics = topics.length,
|
||||
x;
|
||||
|
||||
jQuery('.category.row').show();
|
||||
jQuery('#topics-container, .category-sidebar').show();
|
||||
jQuery('#category-no-topics').hide();
|
||||
|
||||
topic.innerHTML = html;
|
||||
|
||||
Reference in New Issue
Block a user