diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-06 00:27:24 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-06 00:27:24 +0000 |
commit | 8ae2305289d0f4aa5168921efcab07030b934ee5 (patch) | |
tree | e0203eebd8c4527195751ef16de303606f667d30 /modules/comment/js | |
parent | a4323c79ee48cac3cea8ff87ac74ab1b036e41c5 (diff) |
Hide the "no comments yet" text after the first comment is posted.
Fixes ticket #196.
Diffstat (limited to 'modules/comment/js')
-rw-r--r-- | modules/comment/js/comment.js | 1 |
1 files changed, 1 insertions, 0 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); }); } } |