mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Avoid getting rows from nested tables
This commit is contained in:
parent
39d99f6857
commit
47bc2e00d0
@ -1353,7 +1353,7 @@
|
||||
cell = $cell[ 0 ]; // in case cell is a jQuery object
|
||||
// tbody may not exist if update is initialized while tbody is removed for processing
|
||||
if ( $tbodies.length && tbodyIndex >= 0 ) {
|
||||
row = $tbodies.eq( tbodyIndex ).find( 'tr' ).not( '.' + c.cssChildRow ).index( $row );
|
||||
row = $tbodies.eq( tbodyIndex ).children( 'tr' ).not( '.' + c.cssChildRow ).index( $row );
|
||||
cache = tbcache.normalized[ row ];
|
||||
len = $row[ 0 ].cells.length;
|
||||
if ( len !== c.columns ) {
|
||||
|
Loading…
Reference in New Issue
Block a user