mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-30 12:24:10 +01:00
Dev fix: Tidy up modifications to the _fnGetTdNodes function
This commit is contained in:
parent
1d651f68a3
commit
04aa89337b
9
media/js/jquery.dataTables.js
vendored
9
media/js/jquery.dataTables.js
vendored
@ -5842,19 +5842,14 @@
|
||||
var iCorrector;
|
||||
var anTds;
|
||||
var iRow, iRows=oSettings.aoData.length,
|
||||
iColumn, iColumns, oData, sNodeName;
|
||||
iColumn, iColumns, oData, sNodeName, iStart=0, iEnd=iRows;
|
||||
|
||||
/* Allow the collection to be limited to just one row */
|
||||
if ( typeof iRow == 'undefined' )
|
||||
if ( typeof iIndividualRow != 'undefined' )
|
||||
{
|
||||
iStart = iIndividualRow;
|
||||
iEnd = iIndividualRow+1;
|
||||
}
|
||||
else
|
||||
{
|
||||
iStart = 0;
|
||||
iEnd = iRows;
|
||||
}
|
||||
|
||||
for ( iRow=iStart ; iRow<iEnd ; iRow++ )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user