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