diff options
author | Jose Antonio Marquez | 2012-03-05 23:35:08 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-03-05 23:35:08 -0800 |
commit | 97176d466bb0d217f1bc5f45e362ed15c3066507 (patch) | |
tree | dd1a0910f9d1939ada4d3aedde7fe62748d7c2e7 | |
parent | de26ba991c1d6351dfed4a81c246f62d40f075d6 (diff) | |
parent | 887e555d00939a99fd13d0fc8fe081a4feb5d677 (diff) | |
download | ninja-97176d466bb0d217f1bc5f45e362ed15c3066507.tar.gz |
Merge branch 'refs/heads/FileIO' into FileIO-Build-Candidate
-rwxr-xr-x | js/document/html-document.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index 323c1488..3f39c4df 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -623,7 +623,10 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
623 | for (var k in query) { | 623 | for (var k in query) { |
624 | if (query[k].href === this._document.styleSheets[i].href) { | 624 | if (query[k].href === this._document.styleSheets[i].href) { |
625 | //Disabling style sheet to reload via inserting in style tag | 625 | //Disabling style sheet to reload via inserting in style tag |
626 | var tempCSS = query[k].cloneNode(true); | ||
627 | tempCSS.setAttribute('data-ninja-template', 'true'); | ||
626 | query[k].setAttribute('disabled', 'true'); | 628 | query[k].setAttribute('disabled', 'true'); |
629 | this.iframe.contentWindow.document.head.appendChild(tempCSS); | ||
627 | //Inserting tag | 630 | //Inserting tag |
628 | this._templateDocument.head.insertBefore(tag, query[k]); | 631 | this._templateDocument.head.insertBefore(tag, query[k]); |
629 | } | 632 | } |