Skip to content

Commit

Permalink
fix numLeadingBlanks colspan
Browse files Browse the repository at this point in the history
extra <td> injected before payload in renderRowFooterTemplate output, pushing desired <td> off 1 column to right
  • Loading branch information
airdrummer committed Feb 23, 2024
1 parent a0496b3 commit 7ba7d86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
if ( !foundFirstNonBlank){
foundFirstNonBlank = true;
if ( numLeadingBlanks > 0 ){
numLeadingBlanks -= 1;
if (label ){
$(footRow).append($('<th>').attr('colspan', numLeadingBlanks).text(label));
} else {
Expand Down

0 comments on commit 7ba7d86

Please sign in to comment.