Skip to content

navigateTo not working for links inside the list item #8

@mgiraldo

Description

@mgiraldo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions