Roo/Element.js
authoredward <edward@roojs.com>
Tue, 9 Jan 2018 06:29:05 +0000 (14:29 +0800)
committeredward <edward@roojs.com>
Tue, 9 Jan 2018 06:29:05 +0000 (14:29 +0800)
Roo/Element.js

index 712f5fe..14be4ee 100644 (file)
@@ -206,6 +206,7 @@ if(opt.anim.isAnimated()){
                 }
                 
                 if (overflowRegex.test(parent.getStyle('overflow') + parent.getStyle('overflow-x') + parent.getStyle('overflow-y'))){
+                    alert('middle');
                     return parent;
                 }
                 
@@ -226,7 +227,7 @@ if(opt.anim.isAnimated()){
                     return Roo.isAndroid ? Roo.get(document.documentElement) : Roo.get(document.body);
                 }
             }
-            
+            alert('last');
             return Roo.isAndroid ? Roo.get(document.documentElement) : Roo.get(document.body);
         },