mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-01 00:52:11 +01:00
Update media/src/core/core.draw.js
Remove check for iOpenRows !== 0, since it isn't really needed. (the contents of the loop just won't execute)
This commit is contained in:
parent
6b605936f7
commit
fc445cd374
@ -380,15 +380,12 @@ function _fnDraw( oSettings )
|
|||||||
iRowCount++;
|
iRowCount++;
|
||||||
|
|
||||||
/* If there is an open row - and it is attached to this parent - attach it on redraw */
|
/* If there is an open row - and it is attached to this parent - attach it on redraw */
|
||||||
if ( iOpenRows !== 0 )
|
for ( var k=0 ; k<iOpenRows ; k++ )
|
||||||
{
|
{
|
||||||
for ( var k=0 ; k<iOpenRows ; k++ )
|
if ( nRow == oSettings.aoOpenRows[k].nParent )
|
||||||
{
|
{
|
||||||
if ( nRow == oSettings.aoOpenRows[k].nParent )
|
anRows.push( oSettings.aoOpenRows[k].nTr );
|
||||||
{
|
break;
|
||||||
anRows.push( oSettings.aoOpenRows[k].nTr );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user