aboutsummaryrefslogtreecommitdiff
path: root/js/document/document-html.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-14 17:20:01 -0700
committerValerio Virgillito2012-05-14 17:20:01 -0700
commitaeb15b43b92dc38bb04ef5dac72111383f044ec5 (patch)
treee72b6ca1c7e419291f5b088b60c6f05693d3f264 /js/document/document-html.js
parent835df7fcacda5137f0953892e467e5a84f775b35 (diff)
parent150b6eb2be526627d588a0cf7226ddad7a399b8f (diff)
downloadninja-aeb15b43b92dc38bb04ef5dac72111383f044ec5.tar.gz
Merge pull request #228 from joseeight/Document
Document Banner Template
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-xjs/document/document-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js
index b5203e92..9bbea4c9 100755
--- a/js/document/document-html.js
+++ b/js/document/document-html.js
@@ -100,7 +100,7 @@ exports.HtmlDocument = Montage.create(Component, {
100 this._document = this.model.views.design.document; 100 this._document = this.model.views.design.document;
101 //TODO: Remove usage, seems as not needed 101 //TODO: Remove usage, seems as not needed
102 if (template && template.type === 'banner') { 102 if (template && template.type === 'banner') {
103 this.documentRoot = this.model.views.design.document.body.getElementsByTagName('ninja-banner')[0]; 103 this.documentRoot = this.model.views.design.document.body.getElementsByTagName('ninja-content')[0];
104 } else { 104 } else {
105 this.documentRoot = this.model.views.design.document.body; 105 this.documentRoot = this.model.views.design.document.body;
106 } 106 }