diff --git a/js/jquery.tablesorter.widgets.js b/js/jquery.tablesorter.widgets.js index c056b75f..99c20516 100644 --- a/js/jquery.tablesorter.widgets.js +++ b/js/jquery.tablesorter.widgets.js @@ -529,7 +529,7 @@ ts.addWidget({ for (i = 0; i < cols; i++){ t += ''; } - $fr = $t.find('thead').eq(0).append(t += '').find('td'); + $fr = $(t += '').appendTo( $t.find('thead:first') ).find('td'); // build each filter input for (i = 0; i < cols; i++){ dis = false;