I have a problem trying to remove a css transistionend event listener. I am able to add the listener with:
e.addEventListener('transitionend',function(event) {
transitionComplete( event.propertyName );
},false);
I am trying to remove it with
e.removeEventListener('transitionend',function(event) {
transitionComplete( event.propertyName );
},false);
No matter where I put the removeEventListener the listen does not get removed. What can I be doing wrong?
I am not using jquery for this.