mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Merge pull request #327 from riker09/master
Widget option "filter_reset" for dynamically added elements
This commit is contained in:
commit
b561ff4471
@ -701,8 +701,8 @@ ts.addWidget({
|
||||
}).get();
|
||||
|
||||
// reset button/link
|
||||
if (wo.filter_reset && $(wo.filter_reset).length){
|
||||
$(wo.filter_reset).bind('click.tsfilter', function(){
|
||||
if (wo.filter_reset){
|
||||
$(document).on('click.tsfilter', wo.filter_reset, function(){
|
||||
$t.trigger('filterReset');
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user