mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Performance: there can only be 1 open row per parent TR, so quit out the loop when found - 8060
This commit is contained in:
parent
7f90aff469
commit
1077ebcf08
1
media/js/jquery.dataTables.js
vendored
1
media/js/jquery.dataTables.js
vendored
@ -1367,6 +1367,7 @@
|
||||
if ( nRow == oSettings.aoOpenRows[k].nParent )
|
||||
{
|
||||
anRows.push( oSettings.aoOpenRows[k].nTr );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -398,6 +398,7 @@ function _fnDraw( oSettings )
|
||||
if ( nRow == oSettings.aoOpenRows[k].nParent )
|
||||
{
|
||||
anRows.push( oSettings.aoOpenRows[k].nTr );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user