Skip to content

Commit

Permalink
Dev fix: Mistake with the legacy support for asStripClasses and its t…
Browse files Browse the repository at this point in the history
…ypo change to asStripeClasses. Would never accept the old spelling.
  • Loading branch information
Allan Jardine committed Sep 8, 2011
1 parent 8fd5311 commit 826545f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media/js/jquery.dataTables.js
Expand Up @@ -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 );
Expand Down

0 comments on commit 826545f

Please sign in to comment.