Mercurial > agora
diff static/js/agora.js @ 193:fe51ec4eccc1
Added necessary css and Javascript code for the comment system
author | ahsanalishahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Tue, 02 Jul 2013 02:01:02 +0500 |
parents | cdfc1d269a75 |
children | 134f726fd62c |
line wrap: on
line diff
--- a/static/js/agora.js Tue Jul 02 01:56:35 2013 +0500 +++ b/static/js/agora.js Tue Jul 02 02:01:02 2013 +0500 @@ -37,6 +37,14 @@ } }; + $.fn.ShowCommentForm = function(id){ + $(this).hide(); + $('#' + id).show(); + + + + }; + $(document).ready(function () { handleLoginLink(); @@ -75,4 +83,10 @@ currentStyle = newStyle; }); }); -})(jQuery); + + + +} +)(jQuery); + +