aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
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;
}
});