mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Merge branch 'master' of git@github.com:jquery/jquery-ui
This commit is contained in:
commit
aa05861b85
3
ui/jquery.ui.autocomplete.js
vendored
3
ui/jquery.ui.autocomplete.js
vendored
@ -335,6 +335,9 @@ $.widget("ui.menu", {
|
||||
"aria-activedescendant": "ui-active-menuitem"
|
||||
})
|
||||
.click(function(e) {
|
||||
if ( !$( e.target ).closest( ".ui-menu-item" ).length ) {
|
||||
return;
|
||||
}
|
||||
// temporary
|
||||
e.preventDefault();
|
||||
self.select();
|
||||
|
Loading…
Reference in New Issue
Block a user