mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
pager ajax will again target only ths when updating headers
This commit is contained in:
parent
2793de57fc
commit
a91fd663b6
@ -279,7 +279,8 @@
|
|||||||
hsh = $t.hasClass('hasStickyHeaders');
|
hsh = $t.hasClass('hasStickyHeaders');
|
||||||
$sh = hsh ? c.$sticky.children('thead:first').children().children() : '';
|
$sh = hsh ? c.$sticky.children('thead:first').children().children() : '';
|
||||||
$f = $t.find('tfoot tr:first').children();
|
$f = $t.find('tfoot tr:first').children();
|
||||||
c.$headers.each(function(j){
|
// don't change td headers (may contain pager)
|
||||||
|
c.$headers.filter('th').each(function(j){
|
||||||
var $t = $(this), icn;
|
var $t = $(this), icn;
|
||||||
// add new test within the first span it finds, or just in the header
|
// add new test within the first span it finds, or just in the header
|
||||||
if ( $t.find('.' + ts.css.icon).length ) {
|
if ( $t.find('.' + ts.css.icon).length ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user