Node.js based forum software built for the modern web
fixes issue #16 (ajaxify.go is now called) and reintroduces the fadein animation for new topic post
psychobunny166254b8481c
diff --git a/public/src/forum/category.js b/public/src/forum/category.jsindex 4388198e5b..99c4d300e0 100644--- a/public/src/forum/category.js+++ b/public/src/forum/category.js@@ -27,20 +27,21 @@jQuery('#category-no-topics').remove();topic.innerHTML = html;+ topic = topic.querySelector('a');+if (numTopics > 0) {for(x=0;x<numTopics;x++) {if (topics[x].querySelector('.icon-pushpin')) continue;- container.insertBefore(topic.querySelector('a'), topics[x]);+ container.insertBefore(topic, topics[x]);$(topic).hide().fadeIn('slow');break;}} else {- container.insertBefore(topic.querySelector('a'), null);+ container.insertBefore(topic, null);$(topic).hide().fadeIn('slow');}- // jQuery('<div></div>').appendTo("#topics-container").hide().append(html).fadeIn('slow');- // set_up_posts(uniqueid);+ ajaxify.enable();});