Comment toggle now applies to socketed posts

This commit is contained in:
Raphael 2010-06-30 08:28:24 -07:00
parent 340a57ea6d
commit 2b0659e21d

View file

@ -61,7 +61,7 @@ $(document).ready(function(){
// in field label plugin
$(".show_post_comments").click( function() {
$(".show_post_comments").live('click', function() {
if( $(this).hasClass( "visible" )) {
$(this).html($(this).html().replace("hide", "show"));
$(this).parents("li").children(".comments").fadeOut(100);