From 70e6131a7c4a34ed1ea193d5d963cdb0cc96dbfd Mon Sep 17 00:00:00 2001 From: huyz Date: Wed, 27 Jun 2018 15:19:59 -0700 Subject: [PATCH] Fix for the fix for #29: handle null/undefined cells --- src/vanilla-dataTables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vanilla-dataTables.js b/src/vanilla-dataTables.js index e757876..b916590 100644 --- a/src/vanilla-dataTables.js +++ b/src/vanilla-dataTables.js @@ -860,7 +860,7 @@ td = createElement("td"); // Fixes #29 - if (!row[i] && !row[i].length) { + if (!row[i] || !row[i].length) { row[i] = ""; }