diff options
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 5 |
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 | } |