aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/document/mediators/template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/mediators/template.js b/js/document/mediators/template.js
index fcb3e7b6..068a1f48 100755
--- a/js/document/mediators/template.js
+++ b/js/document/mediators/template.js
@@ -227,7 +227,7 @@ exports.TemplateDocumentMediator = Montage.create(Component, {
227 if (template.styles[i].ownerNode.getAttribute) { 227 if (template.styles[i].ownerNode.getAttribute) {
228 //Checking for node not to be loaded from file 228 //Checking for node not to be loaded from file
229 if (template.styles[i].ownerNode.getAttribute('data-ninja-uri') === null && !template.styles[i].ownerNode.getAttribute('data-ninja-template') && !template.styles[i].ownerNode.getAttribute('data-ninja-external-url')) { 229 if (template.styles[i].ownerNode.getAttribute('data-ninja-uri') === null && !template.styles[i].ownerNode.getAttribute('data-ninja-template') && !template.styles[i].ownerNode.getAttribute('data-ninja-external-url')) {
230 if (docStyles[styleCounter]) { 230 if (docStyles[styleCounter] && template.styles[i].ownerNode.getAttribute('data-ninja-node')) {
231 //Inseting data from rules array into tag as string 231 //Inseting data from rules array into tag as string
232 docStyles[styleCounter].innerHTML = this.getCssFromRules(template.styles[i].cssRules); 232 docStyles[styleCounter].innerHTML = this.getCssFromRules(template.styles[i].cssRules);
233 //Syncing <style> tags count since it might be mixed with <link> 233 //Syncing <style> tags count since it might be mixed with <link>