File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 429429 } ) ;
430430 }
431431
432+ // cspell:ignore capy
432433 // Collapse single-child directory chains: if a directory has exactly
433434 // one child and that child is also a directory, absorb the grandchildren.
434435 // e.g. include > boost > capy > [items] becomes include > [items]
15361537 function initNavOverride ( ) {
15371538 if ( ! window . GCOVR_TREE_DATA ) return ;
15381539
1539- var navPrevs = document . querySelectorAll ( '.nav-prev' ) ;
1540- var navNexts = document . querySelectorAll ( '.nav-next' ) ;
1541- if ( navPrevs . length === 0 && navNexts . length === 0 ) return ;
1540+ var navPrev = document . querySelectorAll ( '.nav-prev' ) ;
1541+ var navNext = document . querySelectorAll ( '.nav-next' ) ;
1542+ if ( navPrev . length === 0 && navNext . length === 0 ) return ;
15421543
15431544 // DFS-flatten tree to collect file links in sidebar order
15441545 function collectLinks ( nodes ) {
15951596 }
15961597 }
15971598
1598- updateNavLinks ( navPrevs , prev ) ;
1599- updateNavLinks ( navNexts , next ) ;
1599+ updateNavLinks ( navPrev , prev ) ;
1600+ updateNavLinks ( navNext , next ) ;
16001601 }
16011602
16021603 // ===========================================
Original file line number Diff line number Diff line change 9393 < th class ="col-count "> Hits</ th >
9494 < th class ="col-source "> Source Code</ th >
9595 {% if USE_BLOCK_IDS %}
96- < th class ="col-blockids "> Block IDs</ th >
96+ < th class ="col-lineblockids "> Block IDs</ th >
9797 {% endif %}
9898 </ tr >
9999 </ thead >
223223 </ td >
224224 < td class ="col-source "> {{row.source}}</ td >
225225 {% if USE_BLOCK_IDS %}
226- < td class ="col-blockids "> {% if row.block_ids %}{{row.block_ids | join(', ')}}{% endif %}</ td >
226+ < td class ="col-lineblockids "> {% if row.block_ids %}{{row.block_ids | join(', ')}}{% endif %}</ td >
227227 {% endif %}
228228 </ tr >
229229 {% endfor %}
Original file line number Diff line number Diff line change @@ -1697,7 +1697,7 @@ tr.source-line.nav-highlight > td {
16971697}
16981698
16991699.source-table .col-count ,
1700- .source-table .col-blockids {
1700+ .source-table .col-lineblockids {
17011701 text-align : right;
17021702 white-space : nowrap;
17031703 width : 1% ;
@@ -1706,7 +1706,7 @@ tr.source-line.nav-highlight > td {
17061706}
17071707
17081708.source-table td .col-count ,
1709- .source-table td .col-blockids {
1709+ .source-table td .col-lineblockids {
17101710 color : var (--text-muted );
17111711}
17121712
You can’t perform that action at this time.
0 commit comments