mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Core: Use table cell, not jQuery object to disable sort
Bug introduced in v2.30.3 (38b4c8d9d5
)
Reported on Stack Overflow
This commit is contained in:
parent
4a803ce1ee
commit
ce0405b2fb
@ -520,7 +520,7 @@
|
||||
$cell = ts.getClosest( $( this ), '.' + ts.css.header );
|
||||
// use column index from data-attribute or index of current row; fixes #1116
|
||||
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
|
||||
cell = c.$headerIndexed[ c.last.clickedIndex ];
|
||||
cell = c.$headerIndexed[ c.last.clickedIndex ][0];
|
||||
if ( cell && !cell.sortDisabled ) {
|
||||
ts.initSort( c, cell, e );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user