mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Dev fix: The table() method was truncating the exisiting object, it
should have been operating on a new object
This commit is contained in:
parent
e57b905431
commit
ee4ee545d1
@ -1 +1 @@
|
||||
31d2e3db4630712b55184fd58abdf2b0b529848a
|
||||
c2ea3fed769ec5de9a9ef9d8b26c0cdf71619fb1
|
||||
|
8
media/js/jquery.dataTables.js
vendored
8
media/js/jquery.dataTables.js
vendored
@ -6991,11 +6991,9 @@
|
||||
var ctx = tables.context;
|
||||
|
||||
// Truncate to the first matched table
|
||||
if ( ctx.length ) {
|
||||
ctx.length = 1;
|
||||
}
|
||||
|
||||
return tables;
|
||||
return ctx.length ?
|
||||
new _Api( ctx[0] ) :
|
||||
tables;
|
||||
} );
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user