Skip to content

Have you considered using contains()? #1

@weotch

Description

@weotch

It could be more performant than stepping through the parents:

https://developer.mozilla.org/en-US/docs/Web/API/Node/contains

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions