* Clean up the presentation of the log file a bit.

svn path=/nixos/trunk/; revision=25493
This commit is contained in:
Eelco Dolstra 2011-01-10 15:17:38 +00:00
parent 60b6eb7579
commit 0b33ba7e53
3 changed files with 36 additions and 4 deletions

View file

@ -23,7 +23,7 @@ $(document).ready(function() {
/* Implementation of the expand all link. */
$(".logTreeExpandAll").click(function() {
$(".logTreeToggle", $(this).siblings(".toplevel")).map(function() {
$(".logTreeToggle", $(this).parent().siblings(".toplevel")).map(function() {
$(this).siblings("ul").show();
$(this).text("-");
});
@ -31,7 +31,7 @@ $(document).ready(function() {
/* Implementation of the collapse all link. */
$(".logTreeCollapseAll").click(function() {
$(".logTreeToggle", $(this).siblings(".toplevel")).map(function() {
$(".logTreeToggle", $(this).parent().siblings(".toplevel")).map(function() {
$(this).siblings("ul").hide();
$(this).text("+");
});