Skip to content

Node.js based forum software built for the modern web

if there are no topics in a category and you make the first topic it doesnt show up until you reload the page

psychobunny0f5184321379
diff --git a/public/templates/category.tpl b/public/templates/category.tpl
index 0d45345e9c..40ee2654a9 100644
--- a/public/templates/category.tpl
+++ b/public/templates/category.tpl
@@ -107,6 +107,9 @@
numTopics = topics.length,
x;
+ jQuery('.category.row').show();
+ jQuery('#category-no-topics').hide();
+
topic.innerHTML = html;
if (numTopics > 0) {
for(x=0;x<numTopics;x++) {