mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
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:
parent
0d2e11e1d2
commit
4e0cd4ede2
@ -1159,7 +1159,7 @@
|
||||
l = $tb.children('tr').length;
|
||||
if (l > 1) {
|
||||
row = 0;
|
||||
$tv = $tb.find('tr:visible');
|
||||
$tv = $tb.children('tr:visible');
|
||||
$tb.addClass('tablesorter-hidden');
|
||||
// revered back to using jQuery each - strangely it's the fastest method
|
||||
$tv.each(function(){
|
||||
|
2
js/jquery.tablesorter.min.js
vendored
2
js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user