Bug fix of multilevel menu in the small mode.

This commit is contained in:
junjie 2018-05-28 17:15:08 +08:00
parent 4dea1e2769
commit 85ff8ddf3b

View file

@ -87,8 +87,8 @@ var setContentHeight = function () {
{
if ( $BODY.is( ".nav-sm" ) )
{
$SIDEBAR_MENU.find( "li" ).removeClass( "active active-sm" );
$SIDEBAR_MENU.find( "li ul" ).slideUp();
$li.parent().find( "li" ).removeClass( "active active-sm" );
$li.parent().find( "li ul" ).slideUp();
}
}
$li.addClass('active');