diff --git a/docs/example-parsers.html b/docs/example-parsers.html index 6d7eb98d..85546211 100644 --- a/docs/example-parsers.html +++ b/docs/example-parsers.html @@ -74,7 +74,7 @@ $(function() {
s
) or obtain parameters and/or other data from the cell (cell
) then return this data to the plugin."12/25/2013"
) and converts it into a numeric value (1387951200000
; ref) to make sorting and comparing dates easier.cellIndex
if the cells within columns contain different data - see this demo for an example.cellIndex
if the cells within columns contain different data - see this demo for an example.parsed
block (added v2.15.0)
diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js
index d7951f32..cc4b4d78 100644
--- a/js/jquery.tablesorter.js
+++ b/js/jquery.tablesorter.js
@@ -250,7 +250,7 @@
};
while (j < len) {
rows = tb[j].rows;
- if (rows[j]) {
+ if (rows.length) {
l = c.columns; // rows[j].cells.length;
for (i = 0; i < l; i++) {
h = c.$headers.filter('[data-column="' + i + '"]:last');