Skip to content
Discussion options

You must be logged in to vote

So, the problem was where I was calling

parent.replaceChildren(div);

I replaced it with:

this.removeChildDomNodes();
parent.insertBefore(div,nextSibling);

and the error has gone away. My plans for world domination widget development can proceed...

Unless there is a problem with this I'm not seeing?

Replies: 7 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Jermolene
Comment options

Answer selected by andrewgoz
Comment options

You must be logged in to vote
1 reply
@arunnbabu81
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@andrewgoz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants