]> git.donarmstrong.com Git - lilypond.git/commitdiff
Regtest script: When filtering through js, don't filter out header rows.
authorJulien Rioux <jrioux@physics.utoronto.ca>
Sat, 17 Dec 2011 12:48:09 +0000 (07:48 -0500)
committerGraham Percival <graham@percival-music.ca>
Mon, 26 Dec 2011 18:17:11 +0000 (10:17 -0800)
scripts/build/output-distance.py

index 647d7bd7af07bad6888d97a1a58b61771dba258a..93483727a8249317d966600f0154cb7043ce1fc1 100755 (executable)
@@ -980,7 +980,8 @@ class ComparisonData:
             row = rows[i];
             html = row.innerHTML;
             row.style.display =
-                (html.indexOf(substring + '">') != -1) ? "" : "none";
+                ((html.indexOf('>distance<') != -1) ||
+                 (html.indexOf(substring + '">') != -1)) ? "" : "none";
         }
     }
 // ]]>