From 7d96448ecbf0c7d24bf851db13d1b81bb726024e Mon Sep 17 00:00:00 2001 From: Jakob Hilden Date: Mon, 23 Feb 2009 00:46:25 +0000 Subject: added additional comment link, if no comments have been made yet. --- themes/default/js/ui.init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/default/js/ui.init.js') 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 = 'Add a comment'; + var showCommentForm = 'Add a comment'; $("#gAddCommentForm").hide(); $("#gComments").prepend(showCommentForm); - $("#showCommentForm").click(function(){ + $(".showCommentForm").click(function(){ $("#gAddCommentForm").show(1000); }); } -- cgit v1.2.3