1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-21 13:29:04 +01:00

Fix: The settings finder from node should really use === rather than ==...

This commit is contained in:
Allan Jardine 2011-12-28 11:16:34 +00:00
parent aeed78a08c
commit 6a59b64a60
2 changed files with 2 additions and 2 deletions

View File

@ -4499,7 +4499,7 @@
{
for ( var i=0 ; i<DataTable.settings.length ; i++ )
{
if ( DataTable.settings[i].nTable == nTable )
if ( DataTable.settings[i].nTable === nTable )
{
return DataTable.settings[i];
}

View File

@ -10,7 +10,7 @@ function _fnSettingsFromNode ( nTable )
{
for ( var i=0 ; i<DataTable.settings.length ; i++ )
{
if ( DataTable.settings[i].nTable == nTable )
if ( DataTable.settings[i].nTable === nTable )
{
return DataTable.settings[i];
}