From fce5d489e1e90cb0ca58b54e249ec72eef00e86a Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Tue, 12 Nov 2013 15:23:20 +0530 Subject: basic module --- js/cloud_comments.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 js/cloud_comments.js (limited to 'js/cloud_comments.js') diff --git a/js/cloud_comments.js b/js/cloud_comments.js new file mode 100644 index 0000000..9f4c2ad --- /dev/null +++ b/js/cloud_comments.js @@ -0,0 +1,10 @@ +$(document).ready(function(){ + $(".feedback a").click(function(){ + var clicked = $(this).attr("class"); + console.log(clicked); + $('#'+clicked).slideToggle(); + }); + + /* to avoid CKE partial loading... */ + $('.form-wrapper').slideToggle(); +}); -- cgit