aboutsummaryrefslogtreecommitdiff
path: root/js/document/html-document.js
diff options
context:
space:
mode:
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']);