mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
ColumnSelector: fix column index issue
This commit is contained in:
parent
9cd317070f
commit
5786b3eab3
@ -256,8 +256,8 @@ tsColSel = ts.columnSelector = {
|
||||
$popup.find('.tablesorter-column-selector')
|
||||
.html( colSel.$container.html() )
|
||||
.find('input').each(function(){
|
||||
var isChecked = indx === 'auto' ? colSel.auto : colSel.states[indx],
|
||||
indx = $(this).toggleClass( wo.columnSelector_cssChecked, isChecked ).attr('data-column');
|
||||
var indx = $(this).toggleClass( wo.columnSelector_cssChecked, isChecked ).attr('data-column'),
|
||||
isChecked = indx === 'auto' ? colSel.auto : colSel.states[indx];
|
||||
$(this).prop( 'checked', isChecked );
|
||||
});
|
||||
colSel.$popup = $popup.on('change', 'input', function(){
|
||||
|
Loading…
Reference in New Issue
Block a user