Core: minor tweak

This commit is contained in:
Mottie 2015-02-20 14:47:13 -06:00
parent 6fa4a513be
commit ff3701f63b

View File

@ -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);