Looping HTML5 canvas is duplicating event listeners on loop
I'm creating a looping HTML5 banner advert that loops and has several event listeners attached to buttons to fire links to different web pages.
When the artwork loops however, it's duplicating the event listeners so when I click a link it opens the url multiple times depending on the number of loops. 3 loops = 3 URLs opened. 10 loops = 10 new tabs..
How can I either force a singular link click or remove all event listeners before it loops?
HELP!
