aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.autocomplete.js3
1 files changed, 3 insertions, 0 deletions
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();
});
},