Skip to content

Commit

Permalink
d04853a9ab4fb7e9f5b4acfc1fea81f5952116e8 Dev: Expand check to allow f…
Browse files Browse the repository at this point in the history
…or undefined, since it is a sparse array

Sync to source repo @d04853a9ab4fb7e9f5b4acfc1fea81f5952116e8
  • Loading branch information
dtbuild committed Apr 17, 2024
1 parent 59abadb commit 490d27b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.0.4",
"last-sync": "5e9a1a2865541ad9206747cb25b9e97aa3f238cc"
"last-sync": "d04853a9ab4fb7e9f5b4acfc1fea81f5952116e8"
}
2 changes: 1 addition & 1 deletion js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -2647,7 +2647,7 @@

var row = settings.aoData[rowIdx];

if (row === null) {
if (! row) {
return undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2594,7 +2594,7 @@ function _fnGetCellData( settings, rowIdx, colIdx, type )

var row = settings.aoData[rowIdx];

if (row === null) {
if (! row) {
return undefined;
}

Expand Down

0 comments on commit 490d27b

Please sign in to comment.