mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
Dev fix: Don't throw an error if passing in falsy information for the
settings object getter
This commit is contained in:
parent
47c82c52a7
commit
e57b905431
@ -1 +1 @@
|
||||
9a5b697e2900217b62a64cf4baf01148bc134332
|
||||
31d2e3db4630712b55184fd58abdf2b0b529848a
|
||||
|
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -6363,7 +6363,10 @@
|
||||
return el.nTable;
|
||||
} );
|
||||
|
||||
if ( mixed.nTable && mixed.oApi ) {
|
||||
if ( ! mixed ) {
|
||||
return [];
|
||||
}
|
||||
else if ( mixed.nTable && mixed.oApi ) {
|
||||
// DataTables settings object
|
||||
return [ mixed ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user