diff options
author | Valerio Virgillito | 2012-05-11 16:23:21 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-11 16:23:21 -0700 |
commit | 3b158d7368a41a634b839281fede96445907d15b (patch) | |
tree | cc6fc8cce13fbc185ed716b08479689a221514c0 /js/document/views | |
parent | 9464de58d5bb8b467829926b9d01c0760ec4d790 (diff) | |
parent | d68c1ea5163c67ada54ac24f1da69695cc8dfab5 (diff) | |
download | ninja-3b158d7368a41a634b839281fede96445907d15b.tar.gz |
Merge pull request #224 from joseeight/Document
Document
Diffstat (limited to 'js/document/views')
-rwxr-xr-x | js/document/views/design.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index 16d1ac06..bff65b7f 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -168,7 +168,8 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
168 | } | 168 | } |
169 | } | 169 | } |
170 | //Adjusting margin per size of document | 170 | //Adjusting margin per size of document |
171 | this.document.head.getElementsByTagName('style')[0].innerHTML += '\n ninja-banner {overflow: visible !important; margin-top: -'+Math.floor(this._template.size.height/2)+'px; margin-left: -'+Math.floor(this._template.size.width/2)+'px}'; | 171 | //this.document.head.getElementsByTagName('style')[0].innerHTML += '\n ninja-banner {overflow: visible !important; margin-top: -'+Math.floor(this._template.size.height/2)+'px; margin-left: -'+Math.floor(this._template.size.width/2)+'px}'; |
172 | this.document.head.getElementsByTagName('style')[0].innerHTML += '\n ninja-banner {overflow: visible !important;}'; | ||
172 | //Setting content in template | 173 | //Setting content in template |
173 | ninjaBanner.innerHTML = banner.innerHTML; | 174 | ninjaBanner.innerHTML = banner.innerHTML; |
174 | //Garbage collection | 175 | //Garbage collection |