mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-10-08 13:44:18 +00:00
Filter & stickyHeaders: hideFilters applies to stickyHeaders again. Fixes #1050
This commit is contained in:
parent
726edc7c77
commit
1bb00280ed
@ -851,10 +851,10 @@
|
||||
return false;
|
||||
}
|
||||
},
|
||||
hideFilters: function( c ) {
|
||||
var timer;
|
||||
c.$table
|
||||
.find( '.' + tscss.filterRow )
|
||||
hideFilters: function( c, $table ) {
|
||||
var timer,
|
||||
$row = ( $table || c.$table ).find( '.' + tscss.filterRow ).addClass( tscss.filterRowHide );
|
||||
$row
|
||||
.bind( 'mouseenter mouseleave', function( e ) {
|
||||
// save event object - http://bugs.jquery.com/ticket/12140
|
||||
var event = e,
|
||||
|
@ -262,7 +262,7 @@
|
||||
ts.filter.bindSearch( $table, $stickyCells.find('.' + ts.css.filter) );
|
||||
// support hideFilters
|
||||
if (wo.filter_hideFilters) {
|
||||
ts.filter.hideFilters($stickyTable, c);
|
||||
ts.filter.hideFilters(c, $stickyTable);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user