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() {
  • The 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');