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

Updated: The call to _fnFilterCustom doesn't need to check if there are filters since the loop will effectively do that anyway.

This commit is contained in:
Allan Jardine 2011-12-21 09:11:12 +00:00
parent 74f3426284
commit 0a1a2a17dc
2 changed files with 2 additions and 8 deletions

View File

@ -2054,10 +2054,7 @@
}
/* Custom filtering */
if ( DataTable.ext.afnFiltering.length !== 0 )
{
_fnFilterCustom( oSettings );
}
_fnFilterCustom( oSettings );
}
else
{

View File

@ -95,10 +95,7 @@ function _fnFilterComplete ( oSettings, oInput, iForce )
}
/* Custom filtering */
if ( DataTable.ext.afnFiltering.length !== 0 )
{
_fnFilterCustom( oSettings );
}
_fnFilterCustom( oSettings );
}
else
{