Responsive-Off-Canvas-Menu
Responsive-Off-Canvas-Menu copied to clipboard
Clicking Navigation Links closes menu but does not navigate to page
Hi there,
I'm adapting this for use on my site, and I'm running into a strange issue. When The nav is open and I click a link the menu closes, but the page does not reload to the new content. It is not a z-index issue, and may be due to a conflicting style, but I haven't found it yet. Has anyone else had this happen and what did you do to fix it? Kristin
Just in case anyone else runs into this:
I changed the ID for the div enclosing my navigation. I must have missed this line in the javascript:
if (nav_open && !hasParent(e.target, 'nav')) {
I changed 'nav' to my ID and it works like a charm.