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

Correction to the last commit - check against the default parameter rather than the default value!

This commit is contained in:
Allan Jardine 2011-12-11 08:52:13 +00:00
parent 9a94759fa4
commit 88b2990e53
2 changed files with 2 additions and 2 deletions

View File

@ -6139,7 +6139,7 @@
*/
oSettings.oClasses = DataTable.ext.oJUIClasses;
if ( oInit.sDom == 'lfrtip' )
if ( oInit.sDom == DataTable.models.oInit.sDom )
{
/* Set the DOM to use a layout suitable for jQuery UI's theming */
oSettings.sDom = '<"H"lfr>t<"F"ip>';

View File

@ -190,7 +190,7 @@ if ( oInit.bJQueryUI )
*/
oSettings.oClasses = DataTable.ext.oJUIClasses;
if ( oInit.sDom == 'lfrtip' )
if ( oInit.sDom == DataTable.models.oInit.sDom )
{
/* Set the DOM to use a layout suitable for jQuery UI's theming */
oSettings.sDom = '<"H"lfr>t<"F"ip>';