Okay
  Public Ticket #333508
Mobile-Menu Linked Element
Closed

Comments

  • Mike started the conversation

    Hey Guys,

    while using the mobile-menu the <a> links should be clickable too, not just the sub-indicator. It is too small for older folks.

    I tried some combinations on the related init.js part, but without success. How to change it?

    ////events
    
    $('#mobile-menu .container ul li:has(">ul") > a .sf-sub-indicator').click(function(){
    $(this).parent().parent().toggleClass('open');
    $(this).parent().parent().find('> ul').stop(true,true).slideToggle();
    return false;
    });
  •  1,071
    ThemeNectar replied

    Hey Mike,

    Change the event to this:

    	$('#mobile-menu .container ul li:has(">ul") > a').click(function(){
    		$(this).parent().toggleClass('open');
    		$(this).parent().find('> ul').stop(true,true).slideToggle();
    		return false;
    	});
    

    Cheers