Closed jonasreichel closed 7 years ago
I really don't know why that is happening. Should be it's a problem when you have the reduced sidebar. And the class "sub-menu" doesn't exists for the template on mobile devices...
Thank you for pointing this out , will investigate this and come with a solution as soon as possible.
Hi I have fixed the issue. :)
use code below
$SIDEBAR_MENU.find('a').on('click', function(ev) {
var $li = $(this).parent();
if ($li.is('.active')) {
$li.removeClass('active active-sm');
$('ul:first', $li).slideUp(function() {
setContentHeight();
});
}
else
{
// prevent closing menu if we are on child menu
if (!$li.parent().is('.child_menu')) {
$SIDEBAR_MENU.find('li').removeClass('active active-sm');
$SIDEBAR_MENU.find('li ul').slideUp();
}else
{
if ( $BODY.is( ".nav-sm" ) )
{
if (!$li.parent().is('.child_menu')) {
$SIDEBAR_MENU.find('li').removeClass('active active-sm');
$SIDEBAR_MENU.find('li ul').slideUp();
}
}
}
$li.addClass('active');
$('ul:first', $li).slideDown(function() {
});
}
});
Hello.
The 3º level of menu is not working on mobile. Its's closing.