Merge pull request #693 from junjieone/master

Bug fix of multilevel menu in the small mode.
pull/709/head
AndreiCN 2018-06-18 14:54:28 +03:00 committed by GitHub
commit edadb19df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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