summaryrefslogtreecommitdiff
path: root/modules/comment/js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/js')
-rw-r--r--modules/comment/js/comment.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/comment/js/comment.js b/modules/comment/js/comment.js
index b000a3a2..bb486bbd 100644
--- a/modules/comment/js/comment.js
+++ b/modules/comment/js/comment.js
@@ -13,9 +13,10 @@ function ajaxify_comment_form() {
if (data.result == "success") {
$.get(data.resource, function(data, textStatus) {
$("#gComments .gBlockContent ul:first").append("<li>"+data+"</li>");
- $("#gComments .gBlockContent ul:first li:last").hide().slideDown();
+ $("#gComments .gBlockContent ul:first li:last").effect("highlight", {color: "#cfc"}, 8000);
+ $("#gAddCommentForm").hide(2000);
});
}
}
});
-};
+}