aboutsummaryrefslogtreecommitdiff
path: root/js/io/document
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-10 17:21:28 -0800
committerValerio Virgillito2012-02-10 17:21:28 -0800
commita30d76ff641ce89686cf5fbd9f04ac9ab4e9c830 (patch)
tree41b7443e3a22c8215b30d992e06adc28c2f7919a /js/io/document
parent666ae3e9119410cbf7fa974274d95336aaff091c (diff)
downloadninja-a30d76ff641ce89686cf5fbd9f04ac9ab4e9c830.tar.gz
initial color chip for the stage
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/io/document')
-rw-r--r--js/io/document/html-document.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/io/document/html-document.js b/js/io/document/html-document.js
index c44dfe75..dd3507c2 100644
--- a/js/io/document/html-document.js
+++ b/js/io/document/html-document.js
@@ -398,6 +398,9 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base
398 398
399 this.documentRoot.elementModel.stageView = this.documentRoot.elementModel.defaultRule.cssRules[j]; 399 this.documentRoot.elementModel.stageView = this.documentRoot.elementModel.defaultRule.cssRules[j];
400 400
401 } else if(this.documentRoot.elementModel.defaultRule.cssRules[j].selectorText === "#stageBG") {
402
403 this.documentRoot.elementModel.stageBackground = this.documentRoot.elementModel.defaultRule.cssRules[j];
401 } 404 }
402 } 405 }
403 406