diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index a7544089..ea68a405 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -1753,7 +1753,7 @@ angular.module('ngAnimate', ['ng']) // This will automatically be called by $animate so // there is no need to attach this internally to the // timeout done method. - function onEnd(cancelled) { + function onEnd() { element.off(css3AnimationEvents, onAnimationProgress); element.removeClass(activeClassName); element.removeClass(pendingClassName);