RS, AML; fixed jumping to top of page on comment toggle

This commit is contained in:
Raphael 2010-06-30 13:29:20 -07:00
parent 3d976ca47e
commit 34400594ec

View file

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