1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-17 15:54:14 +01:00

Fix - example: clear button support for multi-filter example

https://www.datatables.net/forums/discussion/56137/filter-clear-not-working-on-ie11-with-individual-search-columns#latest
This commit is contained in:
Allan Jardine 2019-10-01 13:13:49 +00:00
parent 68e41c4a6c
commit b8c80378c6
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
ad8a5b8006d7201339245300e31c0988154f93a6
0c06e5f2698f78d2e539f675365bcaeceb5a7ad8

View File

@ -38,7 +38,7 @@ $(document).ready(function() {
table.columns().every( function () {
var that = this;
$( 'input', this.footer() ).on( 'keyup change', function () {
$( 'input clear', this.footer() ).on( 'keyup change', function () {
if ( that.search() !== this.value ) {
that
.search( this.value )
@ -572,7 +572,7 @@ $(document).ready(function() {
table.columns().every( function () {
var that = this;
$( 'input', this.footer() ).on( 'keyup change', function () {
$( 'input clear', this.footer() ).on( 'keyup change', function () {
if ( that.search() !== this.value ) {
that
.search( this.value )