Occasional JS error from fast clicking?

This error is popping out occasionally in console, from I'm guessing, clicking too fast? When I'm slowly handling the app it is doing well, but it shows up when I start going ham(I think). "Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node." If I'm remembering there is a line of code that prevents spam clicking or something? If that is even what is causing it in the first place.
4 Replies
StefanH
StefanH2y ago
Without code we cant do much
Dovah
Dovah2y ago
Oh xD Will add whole project when I finish some animations tomorrow then Thought maybe it was some common error
StefanH
StefanH2y ago
You're trying to delete something from the dom that was already deleted but without context as to why that's done twice there isn't much to investigate
Dovah
Dovah2y ago
Yeah I think it is me clicking too fast xD And most likely spaghetti code will upload it tomorrow
Want results from more Discord servers?
Add your server