Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Clicking Navigation Links closes menu but does not navigate to page #18

Open
kray0151 opened this issue Oct 9, 2014 · 1 comment
Open

Comments

@kray0151
Copy link

kray0151 commented Oct 9, 2014

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

@kray0151
Copy link
Author

kray0151 commented Oct 9, 2014

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant