aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/static/js/comment_show.js
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/static/js/comment_show.js')
-rw-r--r--mediagoblin/static/js/comment_show.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/mediagoblin/static/js/comment_show.js b/mediagoblin/static/js/comment_show.js
new file mode 100644
index 00000000..2212b9ad
--- /dev/null
+++ b/mediagoblin/static/js/comment_show.js
@@ -0,0 +1,9 @@
+$(document).ready(function(){
+ $('#form_comment').hide();
+ $('#button_addcomment').click(function(){
+ $(this).fadeOut('fast');
+ $('#form_comment').slideDown(function(){
+ $('#comment_content').focus();
+ });
+ });
+});