about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/layouts/main.tt2
-rw-r--r--views/project/index.tt2
2 files changed, 2 insertions, 2 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;
       })})
diff --git a/views/project/index.tt b/views/project/index.tt
index 5ec18dc..c2970d6 100644
--- a/views/project/index.tt
+++ b/views/project/index.tt
@@ -25,7 +25,7 @@
             commit&nbsp;&nbsp;<a href="<: $build.url :>"><: $build.commit :></a><br />
         </div>
     </div>
-    <div class="display_test_result" id="result-<: $build.commit :>">
+    <div class="display_test_result" style="display: none" id="result-<: $build.commit :>">
     </div>
 :}
 </div>