Skip to content

Commit

Permalink
Autocomplete: Fixed #5348 - Autocomplete: menu item should not remain…
Browse files Browse the repository at this point in the history
… selected when mouse off menu
  • Loading branch information
rdworth committed Mar 15, 2010
1 parent 9aa5638 commit e6c30b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/jquery.ui.autocomplete.js
Expand Up @@ -347,6 +347,9 @@ $.widget("ui.menu", {
// mouseenter doesn't work with event delegation
.mouseenter(function() {
self.activate($(this).parent());
})
.mouseleave(function() {
self.deactivate();
});
},

Expand Down

0 comments on commit e6c30b0

Please sign in to comment.