Node.js based forum software built for the modern web
fixing derpage on new topic posting... works better now
Julian Lam3e8d664e717f
diff --git a/public/templates/category.tpl b/public/templates/category.tplindex defb567ad5..b226deea06 100644--- a/public/templates/category.tpl+++ b/public/templates/category.tpl@@ -102,12 +102,12 @@if (numTopics > 0) {for(x=0;x<numTopics;x++) {if (topics[x].querySelector('.icon-pushpin')) continue;- container.insertBefore(topic, topics[x]);+ container.insertBefore(topic.querySelector('a'), topics[x]);$(topic).hide().fadeIn('slow');break;}} else {- container.insertBefore(topic, null);+ container.insertBefore(topic.querySelector('a'), null);$(topic).hide().fadeIn('slow');}