diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 5 |
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; } }); |