Bug fix of multilevel menu in the small mode.

pull/693/head
junjie 7 years ago
parent 4dea1e2769
commit 85ff8ddf3b

@ -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');

Loading…
Cancel
Save