Skip to content

$cloneMe.get(0) is sometimes undefined and errors out #116

@borkweb

Description

@borkweb

I ran into an issue where $cloneMe.get(0) was undefined so when attempting to access the nodeType property threw an error. Checking typeof $cloneMe.get(0) == 'undefined' should prevent this problem.

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