diff options
author | Jose Antonio Marquez | 2012-05-24 00:07:23 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-24 00:07:23 -0700 |
commit | 5914c5b2209c4b8daac4249bb76cda5c9314c4e6 (patch) | |
tree | f0910e57f64d1638f00bf7f6449d479fb377bfac /js/controllers/document-controller.js | |
parent | 16decc5726eafbb25675c61be6df85a378ac1fac (diff) | |
download | ninja-5914c5b2209c4b8daac4249bb76cda5c9314c4e6.tar.gz |
Cleaning up referencing to 'documentRoot' and '_document'
Moved to reference new model in DOM architecture rework. This should not affect anything, just moving the references, and also the setting to the render methods in the design view.
Diffstat (limited to 'js/controllers/document-controller.js')
-rwxr-xr-x | js/controllers/document-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 4edcff48..f84e4da5 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -475,7 +475,7 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
475 | this.activeDocument = doc; | 475 | this.activeDocument = doc; |
476 | 476 | ||
477 | // Initialize the documentRoot styles | 477 | // Initialize the documentRoot styles |
478 | this.initializeRootStyles(doc.documentRoot); | 478 | this.initializeRootStyles(doc.model.documentRoot); |
479 | // Flag to stop stylesheet dirty event | 479 | // Flag to stop stylesheet dirty event |
480 | this._hackInitialStyles = false; | 480 | this._hackInitialStyles = false; |
481 | 481 | ||