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

index e7faed0..d20e99f 100644 (file)
@@ -189,7 +189,6 @@ if(opt.anim.isAnimated()){
          * Looks at  the scrollable parent element
          */
         findScrollableParent : function(){
-            Roo.log('findScrollableParent');
             var overflowRegex = /(auto|scroll)/;
             
             if(this.getStyle('position') === 'fixed'){
@@ -210,6 +209,7 @@ if(opt.anim.isAnimated()){
                 }
                 
                 if(parent.dom.nodeName.toLowerCase() == 'body'){
+                    alert('body');
                     return Roo.isIOS ? Roo.get(document.body) : Roo.get(document.documentElement);
                 }
             }