summaryrefslogtreecommitdiff
path: root/themes/default/js/ui.init.js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js/ui.init.js')
-rw-r--r--themes/default/js/ui.init.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js
index 3c6ca777..ffcc3ed3 100644
--- a/themes/default/js/ui.init.js
+++ b/themes/default/js/ui.init.js
@@ -55,10 +55,10 @@ $(document).ready(function() {
// Collapse comments form, insert button to expand
if ($("#gAddCommentForm").length) {
- var showCommentForm = '<a href="#add_comment_form" id="showCommentForm" class="gButtonLink ui-corner-all ui-icon-left ui-state-default right"><span class="ui-icon ui-icon-comment"></span>Add a comment</a>';
+ var showCommentForm = '<a href="#add_comment_form" class="showCommentForm gButtonLink ui-corner-all ui-icon-left ui-state-default right"><span class="ui-icon ui-icon-comment"></span>Add a comment</a>';
$("#gAddCommentForm").hide();
$("#gComments").prepend(showCommentForm);
- $("#showCommentForm").click(function(){
+ $(".showCommentForm").click(function(){
$("#gAddCommentForm").show(1000);
});
}