mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
Fix: Remove redundant code from the column visiblity method
* This fixes DataTables/DataTables #340
This commit is contained in:
parent
23b3c847ee
commit
c6619c64f9
@ -1 +1 @@
|
|||||||
1a995b4f80a384c2fceddae048f7f9127e9d1846
|
37dd3d0ac908239527d4946e5b4c994ceb982fbc
|
||||||
|
6
media/js/jquery.dataTables.js
vendored
6
media/js/jquery.dataTables.js
vendored
@ -7948,12 +7948,6 @@
|
|||||||
else {
|
else {
|
||||||
// Remove column
|
// Remove column
|
||||||
$( _pluck( settings.aoData, 'anCells', column ) ).detach();
|
$( _pluck( settings.aoData, 'anCells', column ) ).detach();
|
||||||
|
|
||||||
col.bVisible = false;
|
|
||||||
_fnDrawHead( settings, settings.aoHeader );
|
|
||||||
_fnDrawHead( settings, settings.aoFooter );
|
|
||||||
|
|
||||||
_fnSaveState( settings );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common actions
|
// Common actions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user