diff options
Diffstat (limited to 'src/ngAnimate/animate.js')
| -rw-r--r-- | src/ngAnimate/animate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index 44b94563..7fcdef73 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -481,7 +481,7 @@ angular.module('ngAnimate', ['ng']) //avoid calling done() since there is no need to remove any //data or className values since this happens earlier than that //and also use a timeout so that it won't be asynchronous - $timeout(onComplete || noop, 0, false); + onComplete && onComplete(); return; } |
