diff --git a/.datatables-commit-sync b/.datatables-commit-sync index c797dda4..a211e66b 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -964addd063b9c201c9206e4fd21aed712c2dd42e +9e8608fd117a2f841b3db76e36bebe06e635667f diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 9555e17b..f8daa2c0 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -7929,7 +7929,9 @@ _api_registerPlural( 'columns().visible()', 'column().visible()', function ( vis ) { return this.iterator( 'column', function ( settings, column ) { - return __setColumnVis( settings, column, vis ); + return vis === undefined ? + settings.aoColumns[ column ].bVisible : + __setColumnVis( settings, column, vis ); } ); } );