mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Fix: IE8 - Settings as an API selector needs to return as an array
This commit is contained in:
parent
39828e8bab
commit
9a3bdacce6
@ -1 +1 @@
|
||||
6e5c2b6800f6a3014f33455491f2186cf00b0b82
|
||||
b2515d8588a7eda47b67c43442c0a1bcdf0bca47
|
||||
|
3
media/js/jquery.dataTables.js
vendored
3
media/js/jquery.dataTables.js
vendored
@ -6289,7 +6289,7 @@
|
||||
return idx !== -1 ? [ settings[idx] ] : null;
|
||||
}
|
||||
else if ( mixed && typeof mixed.settings === 'function' ) {
|
||||
return mixed.settings();
|
||||
return mixed.settings().toArray();
|
||||
}
|
||||
else if ( typeof mixed === 'string' ) {
|
||||
// jQuery selector
|
||||
@ -6374,6 +6374,7 @@
|
||||
var settings = [];
|
||||
var ctxSettings = function ( o ) {
|
||||
var a = _toSettings( o );
|
||||
console.log( a );
|
||||
if ( a ) {
|
||||
settings.push.apply( settings, a );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user