diff options
Diffstat (limited to 'js/controllers')
-rwxr-xr-x | js/controllers/document-controller.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 3f4fe2ed..48033b61 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -686,11 +686,9 @@ 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('.ninja-body{}'); |
690 | // sc.setStyles(rule, styles); | ||
691 | rule = sc.addRule('.ninjaUserDoc{}'); | ||
692 | sc.setStyles(rule, styles); | 690 | sc.setStyles(rule, styles); |
693 | sc.addClass(docRoot, "ninjaUserDoc"); | 691 | sc.addClass(docRoot, "ninja-body"); |
694 | } | 692 | } |
695 | } | 693 | } |
696 | } | 694 | } |