Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1408715

    Rad
    Moderator

    Hi there,

    Please check again, I changed the code to this

    jQuery(document).ready(function($){
    	$('.mobile .menu-item-has-children').on('click', function(e) {
    		$(this).find('.sub-menu').toggleClass('in');
    	});
    	$('.mobile .x-sub-toggle').off().on('click', function(e) {
    		e.preventDefault();
    		$(this).parents('.menu-item-has-children').find('.sub-menu').toggleClass('in');
    	});
    });

    THanks!

    #1414779

    envirogroup
    Participant

    Thank You, that works brilliantly.

    #1415039

    Rahul
    Moderator

    Glad to hear it!

    Let us know if we can help with anything else.

    Thank you. 🙂