summaryrefslogtreecommitdiff
path: root/themes/default/js/comment.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/comment.js')
-rw-r--r--themes/default/js/comment.js4
1 files changed, 2 insertions, 2 deletions
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("<li>"+data+"</li>");
+ $("#gComments .gBlockContent ul:first li:last").hide().slideDown();
});
$("#gComments form").clearForm();
}