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")) {
toggler.removeClass("visible")
.html(text.replace("hide", "show"));
commentBlock.slideUp(150);
//commentBlock.slideUp(150);
commentBlock.hide();
} else {
toggler.addClass("visible")
.html(text.replace("show", "hide"));
commentBlock.slideDown(150);
//commentBlock.slideDown(150);
commentBlock.show();
}
}