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

Dev fix: Mistake with the legacy support for asStripClasses and its typo change to asStripeClasses. Would never accept the old spelling.

This commit is contained in:
Allan Jardine 2011-09-08 17:47:55 +01:00
parent 8fd5311d9e
commit 826545f1e5

View File

@ -7184,7 +7184,8 @@
* Stripes
* Add the stripe classes now that we know which classes to apply - unless overruled
*/
if ( typeof oInit.asStripeClasses == 'undefined' )
if ( typeof oInit.asStripClasses == 'undefined' &&
typeof oInit.asStripeClasses == 'undefined' )
{
oSettings.asStripeClasses.push( oSettings.oClasses.sStripeOdd );
oSettings.asStripeClasses.push( oSettings.oClasses.sStripeEven );