diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index da1289df..2c28b672 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -5368,7 +5368,7 @@ var nBody = oSettings.nTBody; var i, iLen; - bRemove = (bRemove===undefined) ? false : bRemove; + bRemove = (bRemove===undefined) ? false : true; /* Flag to note that the table is currently being destroyed - no action should be taken */ oSettings.bDestroying = true; diff --git a/media/src/api/api.methods.js b/media/src/api/api.methods.js index 48fae739..622d461b 100644 --- a/media/src/api/api.methods.js +++ b/media/src/api/api.methods.js @@ -474,7 +474,7 @@ this.fnDestroy = function ( bRemove ) var nBody = oSettings.nTBody; var i, iLen; - bRemove = (bRemove===undefined) ? false : true; + bRemove = (bRemove===undefined) ? false : bRemove; /* Flag to note that the table is currently being destroyed - no action should be taken */ oSettings.bDestroying = true;