mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete: Fixed #5348 - Autocomplete: menu item should not remain selected when mouse off menu
This commit is contained in:
parent
9aa56386a3
commit
e6c30b0d97
3
ui/jquery.ui.autocomplete.js
vendored
3
ui/jquery.ui.autocomplete.js
vendored
@ -347,6 +347,9 @@ $.widget("ui.menu", {
|
||||
// mouseenter doesn't work with event delegation
|
||||
.mouseenter(function() {
|
||||
self.activate($(this).parent());
|
||||
})
|
||||
.mouseleave(function() {
|
||||
self.deactivate();
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user