From a359d74279322e22cc49f1639dc38dd3f268561f Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 25 Sep 2010 20:08:32 +0200 Subject: toggle tests's result --- views/layouts/main.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/layouts/main.tt') diff --git a/views/layouts/main.tt b/views/layouts/main.tt index cf3f0e0..80f6b64 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -12,7 +12,7 @@ var id = $(this).parents('.commit').attr('id'); console.log("id => " + id); $.getJSON(url, null, function(data) { - $("#result-" + id).html("
" + data.content + "
");
+            $("#result-" + id).html("
" + data.content + "
").toggle();
           });
           return false;
       })})
-- 
cgit 1.4.1