Use a span instead of a div in the pretty logs

Fixes #6.
This commit is contained in:
Eelco Dolstra
2012-04-30 21:32:53 +02:00
parent eb51065a16
commit b52018e61a
3 changed files with 17 additions and 13 deletions

View File

@ -61,7 +61,7 @@
/* 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("-");
});
@ -69,7 +69,7 @@
/* 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("+");
});