diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index b13c4032..244c6525 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -300,7 +300,7 @@ function computeThIndexes(t) { var matrix = [], lookup = {}, - trs = $(t).find('thead:eq(0) tr'), + trs = $(t).find('thead:eq(0) tr, tfoot tr'), i, j, k, l, c, cells, rowIndex, cellId, rowSpan, colSpan, firstAvailCol, matrixrow; for (i = 0; i < trs.length; i++) { cells = trs[i].cells;