Merge branch 'master' of git@github.com:jquery/jquery-ui

This commit is contained in:
John Resig 2010-03-20 15:28:38 -04:00
commit aa05861b85

View File

@ -335,6 +335,9 @@ $.widget("ui.menu", {
"aria-activedescendant": "ui-active-menuitem"
})
.click(function(e) {
if ( !$( e.target ).closest( ".ui-menu-item" ).length ) {
return;
}
// temporary
e.preventDefault();
self.select();