1 person found this helpful
If it's triggering multiple times, it's because you're adding the event listener multiple times.
If my frame will be assessed multiple times, will each time it runs the above the code and then adds the event listener again and again?
2 people found this helpful
Most likely, yes.
Then what can I do to prevent it?