summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/js/comment.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/js/comment.js b/modules/comment/js/comment.js
index c9cfeb08..c5b14636 100644
--- a/modules/comment/js/comment.js
+++ b/modules/comment/js/comment.js
@@ -7,8 +7,8 @@ function ajaxify_comment_form() {
dataType: "json",
success: function(data) {
if (data.form) {
- $("#gComments form").replaceWith(data.form);
- ajaxify_comment_form();
+ $("#gComments form").replaceWith(data.form);
+ ajaxify_comment_form();
}
if (data.result == "success") {
$.get(data.resource, function(data, textStatus) {