Open jmauzyk opened 1 year ago
If using a bound function for the event listener, removal needs to be handled differently. removeEventListener() needs to remove the specific instance, rather than the generic function. Without this, the event listener is not removed.
removeEventListener()
If using a bound function for the event listener, removal needs to be handled differently.
removeEventListener()
needs to remove the specific instance, rather than the generic function. Without this, the event listener is not removed.