aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2010-03-15 20:57:02 +0000
committerRichard Worth <rdworth@gmail.com>2010-03-15 20:57:02 +0000
commite6c30b0d9712f66b0a2258e3b3a9e7ec571cb5fc (patch)
treef0873198f89120d168d27305885d01770be0c89d /ui
parent9aa56386a355e1de92dcdd7ce1a644b76df9b301 (diff)
downloadjquery-ui-e6c30b0d9712f66b0a2258e3b3a9e7ec571cb5fc.tar.gz
jquery-ui-e6c30b0d9712f66b0a2258e3b3a9e7ec571cb5fc.zip
Autocomplete: Fixed #5348 - Autocomplete: menu item should not remain selected when mouse off menu
Diffstat (limited to 'ui')
-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();
});
},