1
0
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:
Allan Jardine 2014-04-11 09:10:21 +01:00
parent 757dbc5524
commit 56e6f38911
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
7fe7daeac5018954faa8cc11051ad35dc22a05d1
d77140b845220c2ced4db9d3ce0f768958eb7132

View File

@ -8639,7 +8639,7 @@
} );
}
if ( ! remove ) {
if ( ! remove && orig ) {
// insertBefore acts like appendChild if !arg[1]
orig.insertBefore( table, settings.nTableReinsertBefore );
}