mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
added tfoot indexing for sorted styling
This commit is contained in:
parent
81f495ce8d
commit
28cd34b42e
@ -300,7 +300,7 @@
|
|||||||
function computeThIndexes(t) {
|
function computeThIndexes(t) {
|
||||||
var matrix = [],
|
var matrix = [],
|
||||||
lookup = {},
|
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;
|
i, j, k, l, c, cells, rowIndex, cellId, rowSpan, colSpan, firstAvailCol, matrixrow;
|
||||||
for (i = 0; i < trs.length; i++) {
|
for (i = 0; i < trs.length; i++) {
|
||||||
cells = trs[i].cells;
|
cells = trs[i].cells;
|
||||||
|
Loading…
Reference in New Issue
Block a user