diff options
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-x | js/document/html-document.js | 1 |
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']); |