mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-10-08 13:44:18 +00:00
Merge pull request #383 from harryxu/patch1
Count table head th length after ajaxProcessing.
This commit is contained in:
commit
83263a9b37
@ -201,8 +201,8 @@
|
||||
var i, j, hsh, $f, $sh, th, d, l, $err, rr_count,
|
||||
$t = $(table),
|
||||
tc = table.config,
|
||||
hl = $t.find('thead th').length, tds = '',
|
||||
result = c.ajaxProcessing(data, table) || [ 0, [] ],
|
||||
hl = $t.find('thead th').length, tds = '',
|
||||
// allow [ total, rows, headers ] or [ rows, total, headers ]
|
||||
t = isNaN(result[0]) && !isNaN(result[1]);
|
||||
|
||||
@ -635,4 +635,4 @@ $.fn.extend({
|
||||
tablesorterPager: $.tablesorterPager.construct
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
})(jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user