diff options
author | Valerio Virgillito | 2012-02-13 15:45:05 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-13 15:45:05 -0800 |
commit | 0620e2f788861e824d6e49fa319da4d20b18a556 (patch) | |
tree | 53ace12283998ed12b3fde58aeb8ac3617768bf2 /js/io/document/html-document.js | |
parent | 38224745a27e039b79c893830c282b2ba558ab51 (diff) | |
parent | 6db8e0b42ee47a7b6f2d0666640262a024fa9aec (diff) | |
download | ninja-0620e2f788861e824d6e49fa319da4d20b18a556.tar.gz |
Merge pull request #37 from mencio/stage-color
Stage color: Adding the stage background color chip to the stage PI
Diffstat (limited to 'js/io/document/html-document.js')
-rw-r--r-- | js/io/document/html-document.js | 3 |
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 | ||