diff options
author | Richard Worth <rdworth@gmail.com> | 2010-03-15 20:57:02 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-03-15 20:57:02 +0000 |
commit | e6c30b0d9712f66b0a2258e3b3a9e7ec571cb5fc (patch) | |
tree | f0873198f89120d168d27305885d01770be0c89d /ui | |
parent | 9aa56386a355e1de92dcdd7ce1a644b76df9b301 (diff) | |
download | jquery-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.js | 3 |
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(); }); }, |