1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

Fix: Column defs with a string would incorrectly match on a substring class - 4793

This commit is contained in:
Allan Jardine 2011-04-21 16:45:39 +01:00
parent 349a78dc43
commit 1277cfece9

View File

@ -6978,7 +6978,7 @@
for ( k=0, kLen=oSettings.aoColumns.length ; k<kLen ; k++ )
{
if ( aTargets[j] == "_all" ||
oSettings.aoColumns[k].nTh.className.indexOf( aTargets[j] ) != -1 )
$(oSettings.aoColumns[k].nTh).hasClass( aTargets[j] ) )
{
_fnColumnOptions( oSettings, k, oInit.aoColumnDefs[i] );
}