Roo/Element.js
authoredward <edward@roojs.com>
Wed, 29 Nov 2017 09:18:36 +0000 (17:18 +0800)
committeredward <edward@roojs.com>
Wed, 29 Nov 2017 09:18:36 +0000 (17:18 +0800)
Roo/Element.js

index ca1acc0..cc1e88a 100644 (file)
@@ -202,12 +202,11 @@ if(opt.anim.isAnimated()){
                 
                 Roo.log(parent);
                 
-                Roo.log(parent.getStyle('overflow') + parent.getStyle('overflow-x') + parent.getStyle('overflow-y'));
-                
                 if (excludeStaticParent && parent.getStyle('position') === "static") {
                     continue;
                 }
                 
+                Roo.log(parent.getStyle('overflow') + parent.getStyle('overflow-x') + parent.getStyle('overflow-y'));
                 
                 if (overflowRegex.test(parent.getStyle('overflow') + parent.getStyle('overflow-x') + parent.getStyle('overflow-y'))){
                     return parent;