aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngAnimate/animate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngAnimate/animate.js')
-rw-r--r--src/ngAnimate/animate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js
index 6b72f4a8..64be7ba7 100644
--- a/src/ngAnimate/animate.js
+++ b/src/ngAnimate/animate.js
@@ -697,7 +697,7 @@ angular.module('ngAnimate', ['ng'])
}
function animationsDisabled(element, parent) {
- if(element == $rootElement) {
+ if(element[0] == $rootElement[0]) {
return rootAnimateState.disabled || rootAnimateState.running;
}