aboutsummaryrefslogtreecommitdiff
path: root/js/document/html-document.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-22 13:38:09 -0800
committerJose Antonio Marquez2012-02-22 13:38:09 -0800
commit5da4627fe899c03e885d10a77a5e33bb15875504 (patch)
tree14e764c65baf1f832e083e036b9ca3ff006d991f /js/document/html-document.js
parent74d5c26dfb61093a55218cf576096f3355b845cb (diff)
downloadninja-5da4627fe899c03e885d10a77a5e33bb15875504.tar.gz
Removed css not needed in Ninja Template
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-xjs/document/html-document.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 02e9918f..ba5eea79 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -425,6 +425,7 @@ exports.HTMLDocument = Montage.create(TextDocument, {
425 tag = this.iframe.contentWindow.document.createElement('style'); 425 tag = this.iframe.contentWindow.document.createElement('style');
426 tag.setAttribute('ninjauri', fileUri); 426 tag.setAttribute('ninjauri', fileUri);
427 tag.setAttribute('ninjafileurl', cssUrl); 427 tag.setAttribute('ninjafileurl', cssUrl);
428 tag.setAttribute('ninjafilename', cssUrl.split('/')[cssUrl.split('/').length-1]);
428 tag.innerHTML = cssData.content; 429 tag.innerHTML = cssData.content;
429 //Looping through DOM to insert style tag at location of link element 430 //Looping through DOM to insert style tag at location of link element
430 query = this._templateDocument.html.querySelectorAll(['link']); 431 query = this._templateDocument.html.querySelectorAll(['link']);