Skip to content

Error: Cannot read property removeChild of undefined/null expression #36

@dwieringa

Description

@dwieringa

In production, I have Rollbar sometimes reporting Cannot read property removeChild of undefined/null expression from the following line:

this.parentElement.removeChild(this);

I noticed that the other reference to removeChild first verifies that the parentElement is defined. This one does not.

I don't have time to submit a PR at the moment, but thought I would capture this in case others run into the same thing or someone has time fix.

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