Skip to content
Permalink
Browse files

Menu: Remove preventDefault for disabled menu items, since there is n…

…o default on list items. Follow-up to fe7c300 and the anchor removal in general
  • Loading branch information...
jzaefferer committed Dec 3, 2013
1 parent fe7c300 commit c3d382e9013674bd1bd78e327fca4257c200d357
Showing with 0 additions and 3 deletions.
  1. +0 −3 ui/jquery.ui.menu.js
@@ -64,9 +64,6 @@ $.widget( "ui.menu", {
"mousedown .ui-menu-item": function( event ) {
event.preventDefault();
},
"click .ui-state-disabled": function( event ) {
event.preventDefault();
},
"click .ui-menu-item": function( event ) {
var target = $( event.target );
if ( !this.mouseHandled && target.not( ".ui-state-disabled" ).length ) {

0 comments on commit c3d382e

Please sign in to comment.
You can’t perform that action at this time.