Closed garyking closed 8 years ago
stop_listening() works fine for events that exist before the script is loaded, but it doesn't work for future events. What's the best way to do this?
stop_listening()
Edit: I guess I could check the event for the current element to see if it's part of my list of "ignored elements".
stop_listening()
works fine for events that exist before the script is loaded, but it doesn't work for future events. What's the best way to do this?Edit: I guess I could check the event for the current element to see if it's part of my list of "ignored elements".