diff --git a/.datatables-commit-sync b/.datatables-commit-sync index c807552e..9cb8f0df 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -b7feaa2d3aa296b3b0224af59f2523049eac63bb +0ebb60d6ae47e378a970b3a277f14ae09bce9c42 diff --git a/examples/basic_init/zero_configuration.html b/examples/basic_init/zero_configuration.html index c6249967..20434a1b 100644 --- a/examples/basic_init/zero_configuration.html +++ b/examples/basic_init/zero_configuration.html @@ -20,11 +20,7 @@ $(document).ready(function() { - $('#example').dataTable( { - columnDefs: [ - { targets: 0, width: '50px' } - ] - } ); + $('#example').dataTable(); } ); @@ -539,11 +535,7 @@ $(document).ready(function() {
The Javascript shown below is used to initialise the table shown in this example:
$(document).ready(function() {
- $('#example').dataTable( {
- columnDefs: [
- { targets: 0, width: '50px' }
- ]
- } );
+ $('#example').dataTable();
} );
In addition to the above code, the following Javascript library files are loaded for use in this diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 1ddcd9ba..267bc8cd 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -5007,7 +5007,6 @@ } if ( e !== null ) { - console.log( e+'.dt' ); $(settings.nTable).trigger( e+'.dt', args ); } @@ -13977,7 +13976,6 @@ // on destroy, while the `dt` namespaced event is the one we are // listening for $(settings.nTable).on( 'order.dt.DT', function ( e, settings, sorting, columns ) { - console.log( 'doing an order' ); var colIdx = column.idx; cell