anchor.diff:        if ($(form).find('#parent_comment_short_id').length) {
           $(form).closest('.comment').replaceWith($.parseHTML(data));
         } else {
  -        $(form).closest('.comment').after($.parseHTML(data));
  -        $(form).find('textarea').val('');
  +        if ($(form).attr("id").match(/^edit_comment_.+$/)) {
  +          $(form).parent(".comment").replaceWith($.parseHTML(data));
  +        } else {
  +          $(form).closest('.comment').after($.parseHTML(data));
  +          $(form).find('textarea').val('');
  +        }
         }
       });
     },
  
positive.code:     if (comment.length) {
        $.get("/comments/" + comment.attr("data-shortid"),
        function(data) {
          comment.replaceWith($.parseHTML(data));
        });
      } else {
        $(this).closest(".comment").remove();
  
negative.code:     var comment = $(this).closest(".comment");
      $.get("/comments/" + comment.attr("data-shortid") + "/edit",
      function(data) {
        comment.replaceWith($.parseHTML(data));
      });
    });
  
  