Permalink
Browse files

Selectmenu: fixed event for hovering, click scrollbar issue

  • Loading branch information...
1 parent 37d22ee commit d7e23ce225b6fe08cfa779df0f7e70e4d95a0883 @fnagel fnagel committed Oct 8, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 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;
}
});

0 comments on commit d7e23ce

Please sign in to comment.