Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: When removing stripe classes, look only at the direct tbody tag,…

… not nested which could remove classes you want to keep!
  • Loading branch information...
commit 91bac43b15813dfec3c2c519f69da41ebd4acfb7 1 parent bb5bb1c
@DataTables authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  media/js/jquery.dataTables.js
View
2  media/js/jquery.dataTables.js
@@ -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]) )
Please sign in to comment.
Something went wrong with that request. Please try again.