Skip to content

Commit

Permalink
[BUG #8560] Add root element to base call
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwagner committed Aug 27, 2014
1 parent 78b2b1a commit 0ca5999
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/source/class/qx/ui/mobile/core/Root.js
Expand Up @@ -34,8 +34,7 @@ qx.Bootstrap.define("qx.ui.mobile.core.Root",
construct : function(root, layout)
{
this.__root = root || document.body;
this.push(this.__root);
this.base(qx.ui.mobile.container.Composite, "constructor", layout || new qx.ui.mobile.layout.VBox());
this.base(qx.ui.mobile.container.Composite, "constructor", this.__root, layout || new qx.ui.mobile.layout.VBox());

this.addClass("mobile");
this.addClass(qx.core.Environment.get("os.name"));
Expand Down

0 comments on commit 0ca5999

Please sign in to comment.