1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Dev fix: API - destroy() was giving a JS error on scrolling tables

- http://datatables.net/forums/discussion/18584
This commit is contained in:
Allan Jardine 2013-12-04 17:10:59 +00:00
parent c8a69545e0
commit 703ee53c47
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
f4f879d9b2cf0676c45924995e8b2a3fe97ad637
80a708c3e8522972ecc088d2cb2b14616849d6a8

View File

@ -8435,12 +8435,12 @@
// When scrolling we had to break the table up - restore it
if ( table != thead.parentNode ) {
jqTable.children('thead').remove();
jqTable( thead );
jqTable.append( thead );
}
if ( tfoot && table != tfoot.parentNode ) {
jqTable.children('tfoot').remove();
jqTable( tfoot );
jqTable.append( tfoot );
}
// Remove the DataTables generated nodes, events and classes