mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-12 00:08:48 +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:
parent
8fd5311d9e
commit
826545f1e5
3
media/js/jquery.dataTables.js
vendored
3
media/js/jquery.dataTables.js
vendored
@ -7184,7 +7184,8 @@
|
|||||||
* Stripes
|
* Stripes
|
||||||
* Add the stripe classes now that we know which classes to apply - unless overruled
|
* 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.sStripeOdd );
|
||||||
oSettings.asStripeClasses.push( oSettings.oClasses.sStripeEven );
|
oSettings.asStripeClasses.push( oSettings.oClasses.sStripeEven );
|
||||||
|
Loading…
Reference in New Issue
Block a user