took out slide animation on comments due to sluggish performance

This commit is contained in:
danielvincent 2010-11-23 15:20:17 -08:00
parent c2e5b539d8
commit 03243a277f

View file

@ -78,11 +78,13 @@ function expandComments(toggler){
if( toggler.hasClass("visible")) { if( toggler.hasClass("visible")) {
toggler.removeClass("visible") toggler.removeClass("visible")
.html(text.replace("hide", "show")); .html(text.replace("hide", "show"));
commentBlock.slideUp(150); //commentBlock.slideUp(150);
commentBlock.hide();
} else { } else {
toggler.addClass("visible") toggler.addClass("visible")
.html(text.replace("show", "hide")); .html(text.replace("show", "hide"));
commentBlock.slideDown(150); //commentBlock.slideDown(150);
commentBlock.show();
} }
} }