From 73e60f159e168308b20ee2e8903b00c9e8660de1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 27 Jun 2010 20:32:14 +0100 Subject: [PATCH] fix up wrapping with a span --- cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cgi b/cgi index 9aee643..79f2b11 100755 --- a/cgi +++ b/cgi @@ -328,16 +328,16 @@ if (param('debug')) { start_page("$section graphs"); foreach my $group (@{ $section_groups{$section} }) { - my $elems= $group_elems{$section,$group}; - if (@$elems > 1) { print "
"; } print a({href=>"$self?detail=$group§ion=$section"}); my $imgurl= "$self?graph=$group§ion=$section"; + print ""; + my $elems= $group_elems{$section,$group}; foreach my $elem (@$elems) { my $g= $graphs{$section,$group,$elem}; print img({src=>"$imgurl&elem=$elem&sloth=".($sloth + $g->{Slower}), alt=>''}); } + print ""; print "\n"; - if (@$elems > 1) { print "
"; } } -- 2.30.2