diff options
author | Jef van Schendel <mail@jefvanschendel.nl> | 2012-01-01 22:58:32 +0100 |
---|---|---|
committer | Jef van Schendel <mail@jefvanschendel.nl> | 2012-01-01 22:58:32 +0100 |
commit | ada0642e5a619a3dce4050db535eb065e0cdc798 (patch) | |
tree | c6146e0300b50f2dc7c6b69be97ec795436b37ad /mediagoblin/static/js | |
parent | 445d811043c5cb8b801b91604da6e3967d7ba3b7 (diff) | |
download | mediagoblin-ada0642e5a619a3dce4050db535eb065e0cdc798.tar.lz mediagoblin-ada0642e5a619a3dce4050db535eb065e0cdc798.tar.xz mediagoblin-ada0642e5a619a3dce4050db535eb065e0cdc798.zip |
Seperate jQuery bit that was still in media.html
Diffstat (limited to 'mediagoblin/static/js')
-rw-r--r-- | mediagoblin/static/js/comment_show.js | 9 |
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(); + }); + }); +}); |