mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
tfoot tables no longer breaks sorting. Fixes issue #196
This commit is contained in:
parent
3c82eeab3a
commit
623b1a3b7a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user