For some reason my generator keeps getting an error about previousSibling?? No idea what it is or what I did to affect it I haven’t updated recent besides just quickly adding a word then removing it to just see if it’d stop the error since I can’t tell what I’m supposed to be looking for since the error doesn’t provide a line
You must log in or # to comment.
Not sure what is wrong, my tab freezes up when I press the lower randomize button so I can’t test.
Thanks! I’ve just fixed a bug in the
be-plugin
which was the cause of this. But it looks like there’s a bug in thehave-plugin
, and that’s not mine. Whoever owns it needs to change this:let thisNode = document.querySelector(`.${elementId}`);
to this:
let thisNode = document.querySelector(`.${elementId}`); if(!thisNode) return;
I.e. just add
if(!thisNode) return;
below it.