aboutsummaryrefslogtreecommitdiff
path: root/js/document/document-html.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-05-11 15:15:33 -0700
committerJose Antonio Marquez2012-05-11 15:15:33 -0700
commitd114f222cb48a101ffdb1b88d43823ca16f2c7df (patch)
treef6aa6548db45bb0d09fc4e01909028d03015e0ec /js/document/document-html.js
parentd2e1d4eeba4439ed26f2adf1c34991caf44a591f (diff)
downloadninja-d114f222cb48a101ffdb1b88d43823ca16f2c7df.tar.gz
Fixing overflow bug for banner templates
Ensuring overflow is visible but saved as hidden.
Diffstat (limited to 'js/document/document-html.js')
-rwxr-xr-xjs/document/document-html.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/document/document-html.js b/js/document/document-html.js
index 7e1f1806..4767271f 100755
--- a/js/document/document-html.js
+++ b/js/document/document-html.js
@@ -100,7 +100,6 @@ 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;
104 this.documentRoot = this.model.views.design.document.body.getElementsByTagName('ninja-banner')[0]; 103 this.documentRoot = this.model.views.design.document.body.getElementsByTagName('ninja-banner')[0];
105 } else { 104 } else {
106 this.documentRoot = this.model.views.design.document.body; 105 this.documentRoot = this.model.views.design.document.body;