summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/js/comment.js1
-rw-r--r--modules/comment/views/comments.html.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/js/comment.js b/modules/comment/js/comment.js
index bb486bbd..00fc6027 100644
--- a/modules/comment/js/comment.js
+++ b/modules/comment/js/comment.js
@@ -15,6 +15,7 @@ function ajaxify_comment_form() {
$("#gComments .gBlockContent ul:first").append("<li>"+data+"</li>");
$("#gComments .gBlockContent ul:first li:last").effect("highlight", {color: "#cfc"}, 8000);
$("#gAddCommentForm").hide(2000);
+ $("#gNoCommentsYet").hide(2000);
});
}
}
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 23e1f101..25928ab5 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -1,6 +1,6 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? if (!$comments->count()): ?>
-<p>
+<p id="gNoCommentsYet">
<?= t("No comments yet. Be the first to <a %attrs>comment</a>!",
array("attrs" => "href=\"#add_comment_form\" class=\"showCommentForm\"")) ?>
</p>