sync
[roojs1] / roojs-bootstrap-debug.js
index c631f78..5f0d872 100644 (file)
@@ -392,7 +392,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
 
 Roo.bootstrap.Body = function(config){
     Roo.bootstrap.Body.superclass.constructor.call(this, config);
-    this.el = Roo.get(document.body);
+    this.el = Roo.get(config.el ? config.el : document.body );
     if (this.cls && this.cls.length) {
         Roo.get(document.body).addClass(this.cls);
     }