diff --git a/features/lengthLinks/dataTables.lengthLinks.js b/features/lengthLinks/dataTables.lengthLinks.js index b7abc5e..ff30379 100644 --- a/features/lengthLinks/dataTables.lengthLinks.js +++ b/features/lengthLinks/dataTables.lengthLinks.js @@ -37,7 +37,7 @@ $.fn.dataTable.LengthLinks = function ( inst ) { var api = new $.fn.dataTable.Api( inst ); var settings = api.settings()[0]; var container = $('
').addClass( settings.oClasses.sLength ); - var lastLength = -1; + var lastLength = null; // API so the feature wrapper can return the node to insert this.container = function () {