mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete (combobox demo): Blur the button on click to avoid a bug.
Thanks tyron.
This commit is contained in:
parent
98c53d8432
commit
401c91418c
@ -112,6 +112,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
// work around a bug (likely same cause as #5265)
|
||||
$( this ).blur();
|
||||
|
||||
// pass empty string as value to search for, displaying all results
|
||||
input.autocomplete( "search", "" );
|
||||
input.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user