mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Fixed: When pressing a meta key (i.e. an arrow key) in the search box and the search value didn't change, this was casuing a redraw to occur where one was not needed - 2933
This commit is contained in:
parent
a6365b3f69
commit
47d5a6781a
13
media/js/jquery.dataTables.js
vendored
13
media/js/jquery.dataTables.js
vendored
@ -3923,11 +3923,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Now do the filter */
|
/* Now do the filter */
|
||||||
_fnFilterComplete( oSettings, {
|
if ( this.value != oSettings.oPreviousSearch.sSearch )
|
||||||
"sSearch": this.value,
|
{
|
||||||
"bRegex": oSettings.oPreviousSearch.bRegex,
|
_fnFilterComplete( oSettings, {
|
||||||
"bSmart": oSettings.oPreviousSearch.bSmart
|
"sSearch": this.value,
|
||||||
} );
|
"bRegex": oSettings.oPreviousSearch.bRegex,
|
||||||
|
"bSmart": oSettings.oPreviousSearch.bSmart
|
||||||
|
} );
|
||||||
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
jqFilter.keypress( function(e) {
|
jqFilter.keypress( function(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user