aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-14 14:38:48 -0700
committerValerio Virgillito2012-05-14 14:38:48 -0700
commit8d367ec7b4749ad390a0e15bb0418efc60970b54 (patch)
treea6643741f2022aa934f3b39e9ad431a10cdb6752 /js/controllers
parent05db3c7df3126cbd770112cd26a39aab91a95c17 (diff)
parent734b6ad96d25bb67d0db4a0a75c331468e194809 (diff)
downloadninja-8d367ec7b4749ad390a0e15bb0418efc60970b54.tar.gz
Merge pull request #226 from mqg734/Dom-Architecture
Fixing 3d to work in banner templates.
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index e6b543d7..3f4fe2ed 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -686,8 +686,11 @@ if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){
686 } 686 }
687 687
688 if(needsRule) { 688 if(needsRule) {
689 rule = sc.addRule('body{}'); 689// rule = sc.addRule('body{}');
690// sc.setStyles(rule, styles);
691 rule = sc.addRule('.ninjaUserDoc{}');
690 sc.setStyles(rule, styles); 692 sc.setStyles(rule, styles);
693 sc.addClass(docRoot, "ninjaUserDoc");
691 } 694 }
692 } 695 }
693 } 696 }