Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navigateTo not working for links inside the list item #8

Open
mgiraldo opened this issue Oct 11, 2012 · 0 comments
Open

navigateTo not working for links inside the list item #8

mgiraldo opened this issue Oct 11, 2012 · 0 comments

Comments

@mgiraldo
Copy link

Hi

I tried using the built-in navigateTo function but it wasn't working on my lists. That method receives a key and an attribute but only looks in the li tag (I need it to look in the a tag inside it).

I replaced line 241:

var origLinks = origElt.find("[" + attrName + "=" + key + "]").parentsUntil(origElt).filter("li").find(":eq(0)");

with:

var origLinks = origElt.find("[" + attrName + "=" + key + "]").parentsUntil(origElt).filter("li").find("a:eq(0)");

Not sure if there is a proper/better way to do it.

Hope this is useful for someone.

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

No branches or pull requests

1 participant