Skip to content

Commit

Permalink
Remove unnecessary searchColumn call
Browse files Browse the repository at this point in the history
  • Loading branch information
mikmart committed Jan 13, 2024
1 parent 3ab740c commit 7866c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/htmlwidgets/datatables.js
Original file line number Diff line number Diff line change
Expand Up @@ -1402,9 +1402,9 @@ HTMLWidgets.widget({
console.log('The search keyword for column ' + i + ' is undefined')
return;
}
// Change event is needed to update numeric slider values.
// Update column search string and values on linked filter widgets.
// 'input' for factor and char filters, 'change' for numeric filters.
$(td).find('input').first().val(v).trigger('input').trigger('change');
searchColumn(i, v);
});
table.draw();
}
Expand Down

0 comments on commit 7866c12

Please sign in to comment.