aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-10-09 00:09:16 +0200
committerFelix Nagel <info@felixnagel.com>2011-10-09 00:09:16 +0200
commitd7e23ce225b6fe08cfa779df0f7e70e4d95a0883 (patch)
tree2b6ff8c63c991cabfc406f7221537900bf6180fc /ui/jquery.ui.selectmenu.js
parent37d22ee017f3d90080bb5acb867889fb4e50edbc (diff)
downloadjquery-ui-d7e23ce225b6fe08cfa779df0f7e70e4d95a0883.tar.gz
jquery-ui-d7e23ce225b6fe08cfa779df0f7e70e4d95a0883.zip
Selectmenu: fixed event for hovering, click scrollbar issue
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r--ui/jquery.ui.selectmenu.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index f161c9bc7..c02b8988a 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -139,11 +139,10 @@ $.widget( "ui.selectmenu", {
'click': function( event ) {
event.preventDefault();
},
- // namespacing is needed (_bind should do the trick, but it doesnt)
- 'mouseenter.selectmenu': function() {
+ mouseenter: function() {
that.hover = true;
},
- 'mouseleave.selectmenu': function() {
+ mouseleave: function() {
that.hover = false;
}
});