mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Core: minor tweak
This commit is contained in:
parent
6fa4a513be
commit
ff3701f63b
@ -394,7 +394,7 @@
|
|||||||
function appendToTable(table, init) {
|
function appendToTable(table, init) {
|
||||||
var c = table.config,
|
var c = table.config,
|
||||||
wo = c.widgetOptions,
|
wo = c.widgetOptions,
|
||||||
b = c.$tbodies,
|
$tbodies = c.$tbodies,
|
||||||
rows = [],
|
rows = [],
|
||||||
cc = c.cache,
|
cc = c.cache,
|
||||||
n, totalRows, $bk, $tb,
|
n, totalRows, $bk, $tb,
|
||||||
@ -408,8 +408,8 @@
|
|||||||
if (c.debug) {
|
if (c.debug) {
|
||||||
appendTime = new Date();
|
appendTime = new Date();
|
||||||
}
|
}
|
||||||
for (k = 0; k < b.length; k++) {
|
for (k = 0; k < $tbodies.length; k++) {
|
||||||
$bk = $(b[k]);
|
$bk = $tbodies.eq(k);
|
||||||
if ($bk.length) {
|
if ($bk.length) {
|
||||||
// get tbody
|
// get tbody
|
||||||
$tb = ts.processTbody(table, $bk, true);
|
$tb = ts.processTbody(table, $bk, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user