Selectmenu: fixed event for hovering, click scrollbar issue

This commit is contained in:
Felix Nagel
2011-10-09 00:09:16 +02:00
parent 37d22ee017
commit d7e23ce225

View File

@@ -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;
}
});