From 0f51843213797501a59b3aa1df272f6080afcf1f Mon Sep 17 00:00:00 2001
From: psychobunny <psycho.bunny@hotmail.com>
Date: Thu, 23 May 2013 15:16:06 -0400
Subject: [PATCH] if there are no topics in a category and you make the first
 topic it doesnt show up until you reload the page

---
 public/templates/category.tpl | 3 +++
 1 file changed, 3 insertions(+)

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++) {