From c812d2a9314eec3d73f9408cf1f3938edc675b0d Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 24 Nov 2008 07:12:45 +0000 Subject: Changed comment sort order asc. Changed ajax comment add to append comment li to comment thread ul. Added fadeIn for user login. --- themes/default/js/comment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/default/js/comment.js') diff --git a/themes/default/js/comment.js b/themes/default/js/comment.js index 60e885fb..259b4826 100644 --- a/themes/default/js/comment.js +++ b/themes/default/js/comment.js @@ -8,8 +8,8 @@ function ajaxify_comment_form() { $("#gComments form").replaceWith(xhr.responseText); if (xhr.status == 201) { $.get(xhr.getResponseHeader("Location"), function(data, textStatus) { - $("#gComments div.gBlockContent ul:first").append(data); - $("#gComments div.gBlockContent ul:first li:last").hide().slideDown(); + $("#gComments .gBlockContent ul:first").append("
  • "+data+"
  • "); + $("#gComments .gBlockContent ul:first li:last").hide().slideDown(); }); $("#gComments form").clearForm(); } -- cgit v1.2.3