changed zebra widget to only add class to children TR of current TBODY - nested tables would have visible TR included since it was doing find("tr:visible").

This commit is contained in:
Sam Tyson 2012-08-02 15:03:12 -05:00
parent 0d2e11e1d2
commit 4e0cd4ede2
2 changed files with 2 additions and 2 deletions

View File

@ -1159,7 +1159,7 @@
l = $tb.children('tr').length; l = $tb.children('tr').length;
if (l > 1) { if (l > 1) {
row = 0; row = 0;
$tv = $tb.find('tr:visible'); $tv = $tb.children('tr:visible');
$tb.addClass('tablesorter-hidden'); $tb.addClass('tablesorter-hidden');
// revered back to using jQuery each - strangely it's the fastest method // revered back to using jQuery each - strangely it's the fastest method
$tv.each(function(){ $tv.each(function(){

File diff suppressed because one or more lines are too long