Menu: Remove ui-state-hover class from menu items on destroy

This commit is contained in:
jzaefferer 2011-02-14 12:06:04 +01:00
parent 5c3dc7d48a
commit ed531ef0d3

View File

@ -105,7 +105,7 @@ $.widget("ui.menu", {
.removeClass( "ui-menu-item" )
.removeAttr( "role" )
.children( "a" )
.removeClass( "ui-corner-all" )
.removeClass( "ui-corner-all ui-state-hover" )
.removeAttr( "tabIndex" )
.unbind( ".menu" );
},