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

index b6be62e..728911d 100644 (file)
@@ -212,7 +212,7 @@ if(opt.anim.isAnimated()){
                 }
             }
             
-            return Roo.get(document.body);
+            return Roo.isIOS ? Roo.get(document.body) : Roo.get(document.documentElement);
         },
 
         /**