Roo/bootstrap/Body.js
authorAlan Knowles <alan@roojs.com>
Thu, 21 Aug 2014 06:40:50 +0000 (14:40 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Aug 2014 06:40:50 +0000 (14:40 +0800)
Roo/bootstrap/Body.js

index 1ac1ba7..e6bfbf3 100644 (file)
@@ -18,6 +18,9 @@
 Roo.bootstrap.Body = function(config){
     Roo.bootstrap.Body.superclass.constructor.call(this, config);
     this.el = Roo.get(document.body);
+    if (this.cls && this.cls.length) {
+        Roo.get(document.body).addClass(this.cls);
+    }
 };
 
 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {