Link modal: reset search results appropriately
Reset the search results when the input field is emptied with the browser's "clear" button inside that field. Fixes #32174. git-svn-id: https://develop.svn.wordpress.org/trunk@32593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e6be9cd89
commit
f639366590
@ -68,7 +68,7 @@ var wpLink;
|
||||
inputs.queryNoticeTextHint.addClass( 'screen-reader-text' ).hide();
|
||||
} );
|
||||
|
||||
inputs.search.keyup( function() {
|
||||
inputs.search.on( 'keyup input', function() {
|
||||
var self = this;
|
||||
|
||||
window.clearTimeout( searchTimer );
|
||||
|
Loading…
Reference in New Issue
Block a user