diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index 46ab1347aa62..75c2d336b624 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -1756,7 +1756,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);