Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Conversation

@pellanda-atos-ext
Copy link

Sometimes, when you reload a webpage, you get an exception "cannot get property lastChild or undefined", because the variable parent is undefined.
If that is the case we return from the function to avoid the exception

What issue is this PR resolving? Alternatively, please describe the bugfix/enhancement this PR aims to provide

Have you provided unit tests that either prove the bugfix or cover the enhancement?

Related issues

Sometimes, when you reload a webpage, you get an exception "cannot get property lastChild or undefined", because the variable parent is undefined.
If that is the case we return from the function to avoid the exception
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant