X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FBody.js;h=3d862aa0a99c5aa6816ea36ee2dfbc9997f7d982;hb=819ca633147b4587e70868d03fdac1f672ca3e85;hp=b70ef95ff6bbd193ecd37b4ead3c06cab2c2910b;hpb=ee229ab224a582a176fd809759adbe7da01e9e05;p=roojs1 diff --git a/Roo/bootstrap/Body.js b/Roo/bootstrap/Body.js index b70ef95ff6..3d862aa0a9 100644 --- a/Roo/bootstrap/Body.js +++ b/Roo/bootstrap/Body.js @@ -17,7 +17,7 @@ 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); }