mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
Dev fix: rows.add() API was trying to get the row index from the wrong
parameter. - Simple fix, just had the array index in the wrong location.
This commit is contained in:
parent
0b0fc5fe04
commit
f7c92e1270
@ -103,7 +103,7 @@ _api.register( 'rows.add()', function ( rows ) {
|
||||
row = rows[i];
|
||||
|
||||
if ( row.nodeName && row.nodeName.toUpperCase() === 'TR' ) {
|
||||
out.push( _fnAddTr( settings, row ) )[0];
|
||||
out.push( _fnAddTr( settings, row )[0] );
|
||||
}
|
||||
else {
|
||||
out.push( _fnAddData( settings, row ) );
|
||||
|
Loading…
Reference in New Issue
Block a user