Selectmenu: remove unwanted Menu mouseover event, fixes problem with selected item highlighting on menu open

This commit is contained in:
Felix Nagel 2012-02-26 01:50:55 +01:00
parent e9a35319d4
commit f2228b0553

View File

@ -165,7 +165,8 @@ $.widget( "ui.selectmenu", {
this.menu.addClass( 'ui-corner-bottom' ).removeClass( 'ui-corner-all' );
}
// unbind Menu document event
// unbind uneeded Menu events
this.menu.unbind ( "mouseleave.menu" );
$( document ).unbind( "click.menu" );
},