mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Fix: Inverted logic for column.index() - 20021
This commit is contained in:
parent
9fda4f3a3d
commit
fedec2b479
@ -1 +1 @@
|
||||
4615e4e248f4c3ac97821bb1c27c6c1c9962a1f9
|
||||
824641df1d8396a88c495ed258915287046c1c55
|
||||
|
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -8024,10 +8024,10 @@
|
||||
var ctx = this.context[0];
|
||||
|
||||
if ( type === 'fromVisible' || type === 'toData' ) {
|
||||
return _fnColumnIndexToVisible( ctx, idx );
|
||||
return _fnVisibleToColumnIndex( ctx, idx );
|
||||
}
|
||||
else if ( type === 'fromData' || type === 'toVisible' ) {
|
||||
return _fnVisibleToColumnIndex( ctx, idx );
|
||||
return _fnColumnIndexToVisible( ctx, idx );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
Loading…
x
Reference in New Issue
Block a user