repo: janusweb action: commit revision: path_from: revision_from: 26d5f1c7dfd9c0aa4fa6dcd57e4a7e25213cebd6: path_to: revision_to:
commit 26d5f1c7dfd9c0aa4fa6dcd57e4a7e25213cebd6 Author: James BaicoianuDate: Tue Oct 17 17:24:12 2017 -0700 Append buttons to current container, not body diff --git a/scripts/client.js b/scripts/client.js
--- a/scripts/client.js
+++ b/scripts/client.js
@@ -100,7 +100,7 @@ elation.require(['engine.engine', 'engine.assets', 'engine.things.light_ambient'
this.enginecfg.picking = true;
this.enginecfg.useWebVRPolyfill = elation.utils.any(this.args.useWebVRPolyfill, true);
- this.buttons = elation.ui.buttonbar({append: document.body, classname: 'janusweb_ui_buttons'})
+ this.buttons = elation.ui.buttonbar({append: this.container, classname: 'janusweb_ui_buttons'})
setTimeout(elation.bind(this, function() {
this.initButtons();
}), 0);
-----END OF PAGE-----