diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index 802b726f..395b2719 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -318,7 +318,7 @@ function computeThIndexes(t) { var matrix = [], lookup = {}, - trs = $(t).find('thead:eq(0) tr, tfoot tr'), + trs = $(t).find('thead:eq(0), tfoot').children('tr'), // children tr in tfoot - see issue #196 i, j, k, l, c, cells, rowIndex, cellId, rowSpan, colSpan, firstAvailCol, matrixrow; for (i = 0; i < trs.length; i++) { cells = trs[i].cells;