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 d88059ab..3b6eb5bf 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -683,8 +683,11 @@ if(this.activeDocument && this.application.ninja.coreIoApi.cloudAvailable()){ | |||
683 | } | 683 | } |
684 | 684 | ||
685 | if(needsRule) { | 685 | if(needsRule) { |
686 | rule = sc.addRule('body{}'); | 686 | // rule = sc.addRule('body{}'); |
687 | // sc.setStyles(rule, styles); | ||
688 | rule = sc.addRule('.ninjaUserDoc{}'); | ||
687 | sc.setStyles(rule, styles); | 689 | sc.setStyles(rule, styles); |
690 | sc.addClass(docRoot, "ninjaUserDoc"); | ||
688 | } | 691 | } |
689 | } | 692 | } |
690 | } | 693 | } |