diff options
Diffstat (limited to 'js/document')
-rwxr-xr-x | js/document/html-document.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 1c5cec91..6e1f654b 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -637,10 +637,10 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
637 | for (var k in query) { | 637 | for (var k in query) { |
638 | if (query[k].href === this._document.styleSheets[i].href) { | 638 | if (query[k].href === this._document.styleSheets[i].href) { |
639 | //Disabling style sheet to reload via inserting in style tag | 639 | //Disabling style sheet to reload via inserting in style tag |
640 | var tempCSS = query[k].cloneNode(true); | 640 | //var tempCSS = query[k].cloneNode(true); |
641 | tempCSS.setAttribute('data-ninja-template', 'true'); | 641 | //tempCSS.setAttribute('data-ninja-template', 'true'); |
642 | query[k].setAttribute('disabled', 'true'); | 642 | query[k].setAttribute('disabled', 'true'); |
643 | this.iframe.contentWindow.document.head.appendChild(tempCSS); | 643 | //this.iframe.contentWindow.document.head.appendChild(tempCSS); |
644 | //Inserting tag | 644 | //Inserting tag |
645 | this._templateDocument.head.insertBefore(tag, query[k]); | 645 | this._templateDocument.head.insertBefore(tag, query[k]); |
646 | } | 646 | } |