about summary refs log tree commit diff
path: root/views/layouts/main.tt
diff options
context:
space:
mode:
Diffstat (limited to 'views/layouts/main.tt')
-rw-r--r--views/layouts/main.tt2
1 files changed, 1 insertions, 1 deletions
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("<pre>" + data.content + "<pre>");
+            $("#result-" + id).html("<pre>" + data.content + "<pre>").toggle();
           });
           return false;
       })})