bugfix: show post row for new topic on previously empty category

v1.18.x
psychobunny 12 years ago
parent 11ad3a867e
commit 392883b911

@ -42,8 +42,8 @@
</div> </div>
</li></a> </li></a>
<!-- END topics --> <!-- END topics -->
<hr />
</ul> </ul>
<hr />
<button id="new_post" class="btn btn-primary btn-large {show_category_features}">New Topic</button> <button id="new_post" class="btn btn-primary btn-large {show_category_features}">New Topic</button>
</div> </div>
<div class="span3 {show_category_features} category-sidebar"> <div class="span3 {show_category_features} category-sidebar">
@ -112,7 +112,7 @@
numTopics = topics.length, numTopics = topics.length,
x; x;
jQuery('.category.row').show(); jQuery('#topics-container, .category-sidebar').show();
jQuery('#category-no-topics').hide(); jQuery('#category-no-topics').hide();
topic.innerHTML = html; topic.innerHTML = html;

Loading…
Cancel
Save