mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
parse "empty" table cells again
This commit is contained in:
parent
7ec25da422
commit
0176a410d3
@ -222,7 +222,7 @@
|
||||
for (j = 0; j < totalCells; ++j) {
|
||||
t = trimAndGetNodeText(table.config, c[0].cells[j], j);
|
||||
// don't bother parsing if the string is empty - previously parsing would change it to zero
|
||||
cols.push( t === '' ? '' : parsers[j].format(t, table, c[0].cells[j], j) );
|
||||
cols.push( parsers[j].format(t, table, c[0].cells[j], j) );
|
||||
}
|
||||
cols.push(cache.normalized.length); // add position for rowCache
|
||||
cache.normalized.push(cols);
|
||||
|
Loading…
Reference in New Issue
Block a user