I had this js code on the site:
jQuery(document).ready(function($){
$('.x-one-page-navigation-active .x-navbar .mobile .x-nav > .menu-item:not(.menu-item-has-children)').on('click touchend', function(e) {
document.getElementsByClassName("x-btn-navbar")[0].click()
});
});
I took that out, and the menu is now working on the ipad…However the menu now, on mobile, and ipad, stays open as it scrolls to the section, as appose to how it was, where the menu would contract upon scroll…
I think form a UX point of view, it should contract as when it gets to the menu item,…right now, you have to click the menu for it to close again.
Any help would be appreciated.
Thanks.