]> iEval git - plack-app-gruntmaster.git/commitdiff
Iterate on tr not tbody in process_pb
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 7 Feb 2015 09:12:52 +0000 (11:12 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 7 Feb 2015 09:12:52 +0000 (11:12 +0200)
lib/Plack/App/Gruntmaster/HTML.pm

index 8f47616eaf4e9446ee550c774b62e60972e49e2b..117d1b4be5ac7f2567394ca8d9d4522621f0cc1b 100644 (file)
@@ -188,7 +188,7 @@ sub process_pb {
                my ($data, $div) = @_;
                $div->attr(id => $data);
                $div->find('h2')->replace_content(ucfirst $data);
-               $div->find('tbody')->iter3($args{$data}, $titer);
+               $div->find('tbody')->find('tr')->iter3($args{$data}, $titer);
        };
        $tree->fid('beginner')->iter3([grep {$args{$_}} qw/beginner easy medium hard/], $iter);
 }
This page took 0.028462 seconds and 4 git commands to generate.