X-anchor-toggle CALLING IN DOUBLE

Hey guys. I am redesigning the front page, but I have an issue.

I have in my menu 2(two) links as options

Book Now and Search

I create a Global Block with two section:
#1 CONTENT AREA OFF CANVAS for Book Now CLASS bookNow
#2 SEARCH DROPDOWN CLASS searchBox

I am using the following JS:

/book Now/
jQuery(function($){
$( document).on(‘click’, ‘#menu-item-119 > a’, function(e) {
e.preventDefault();
$(’.x-anchor-toggle,.bookNow’).click();
})
});

When I press BOOK NOW from the menu both OFF CANVAS and DROPDOWN Pop Up

SECURE NOTES ATTACHED

Best,

Hello There,

Thanks for writing in! I have logged in and I do not see any dropdown. I only see the Book Now and the Off Canvas which only appears when you click Book Now in the menu.

Could you please clarify a little further? Thanks.

Indeed. Matter fact I figure out another much better way to do it. Thanks.

Hey There,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.