1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00

Fix: _fnGetTdNodes would error if trying to get only the first row

This commit is contained in:
Allan Jardine 2012-01-15 09:32:05 +00:00
parent ccb99b3305
commit e1146e2f9d

View File

@ -58,7 +58,7 @@ function _fnGetTdNodes ( oSettings, iIndividualRow )
iColumn, iColumns, oData, sNodeName, iStart=0, iEnd=iRows;
/* Allow the collection to be limited to just one row */
if ( iIndividualRow )
if ( iIndividualRow !== undefined )
{
iStart = iIndividualRow;
iEnd = iIndividualRow+1;