diff options
author | Nivesh Rajbhandari | 2012-05-14 12:05:41 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-14 12:05:41 -0700 |
commit | 734b6ad96d25bb67d0db4a0a75c331468e194809 (patch) | |
tree | ed676df68f6a41fe57d7520a5e8a063a670cc19e /js/document/document-html.js | |
parent | 3b158d7368a41a634b839281fede96445907d15b (diff) | |
download | ninja-734b6ad96d25bb67d0db4a0a75c331468e194809.tar.gz |
Fixing 3d to work in banner templates.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-x | js/document/document-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js index 4767271f..f8e88ede 100755 --- a/js/document/document-html.js +++ b/js/document/document-html.js | |||
@@ -107,7 +107,7 @@ exports.HtmlDocument = Montage.create(Component, { | |||
107 | //TODO: Why is this needed? | 107 | //TODO: Why is this needed? |
108 | this._liveNodeList = this.model.views.design.document.body.getElementsByTagName('*'); | 108 | this._liveNodeList = this.model.views.design.document.body.getElementsByTagName('*'); |
109 | //Initiliazing document model | 109 | //Initiliazing document model |
110 | document.application.njUtils.makeElementModel(this.model.views.design.document.body, "Body", "body"); | 110 | document.application.njUtils.makeElementModel(this.documentRoot, "Body", "body"); |
111 | //Adding observer to know when template is ready | 111 | //Adding observer to know when template is ready |
112 | this._observer = new WebKitMutationObserver(this.handleTemplateReady.bind(this)); | 112 | this._observer = new WebKitMutationObserver(this.handleTemplateReady.bind(this)); |
113 | this._observer.observe(this.model.views.design.document.head, {childList: true}); | 113 | this._observer.observe(this.model.views.design.document.head, {childList: true}); |