mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Fix: Destroy error if the table has been destored completely by the user
before calling destory() (i.e. overwriting with HTML)
This commit is contained in:
parent
757dbc5524
commit
56e6f38911
@ -1 +1 @@
|
||||
7fe7daeac5018954faa8cc11051ad35dc22a05d1
|
||||
d77140b845220c2ced4db9d3ce0f768958eb7132
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -8639,7 +8639,7 @@
|
||||
} );
|
||||
}
|
||||
|
||||
if ( ! remove ) {
|
||||
if ( ! remove && orig ) {
|
||||
// insertBefore acts like appendChild if !arg[1]
|
||||
orig.insertBefore( table, settings.nTableReinsertBefore );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user