diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index ece6df4d5..7349ce98b 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -347,6 +347,9 @@ $.widget("ui.menu", { // mouseenter doesn't work with event delegation .mouseenter(function() { self.activate($(this).parent()); + }) + .mouseleave(function() { + self.deactivate(); }); },