mirror of https://github.com/ColorlibHQ/gentelella
Merge pull request #693 from junjieone/master
Bug fix of multilevel menu in the small mode.pull/709/head
commit
edadb19df9
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue