]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Remove ui-state-hover class from menu items on destroy
authorjzaefferer <joern.zaefferer@gmail.com>
Mon, 14 Feb 2011 11:06:04 +0000 (12:06 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Wed, 16 Feb 2011 07:39:30 +0000 (08:39 +0100)
ui/jquery.ui.menu.js

index b2e9e6157c5fa21dfae7a7469faced03e24d047f..8cf8886d842fd1498f39d12dcb66d05486ab1725 100644 (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" );
        },