Avoid getting rows from nested tables

This commit is contained in:
Willy Stadnick 2022-06-15 11:35:54 -04:00 committed by GitHub
parent 39d99f6857
commit 47bc2e00d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ) {