mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
Fix: When removing stripe classes, look only at the direct tbody tag, not nested which could remove classes you want to keep!
This commit is contained in:
parent
bb5bb1c37f
commit
91bac43b15
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -6639,7 +6639,7 @@
|
||||
|
||||
/* Remove row stripe classes if they are already on the table row */
|
||||
var bStripeRemove = false;
|
||||
var anRows = $('tbody>tr', this);
|
||||
var anRows = $('>tbody>tr', this);
|
||||
for ( i=0, iLen=oSettings.asStripClasses.length ; i<iLen ; i++ )
|
||||
{
|
||||
if ( anRows.filter(":lt(2)").hasClass( oSettings.asStripClasses[i]) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user