aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-04 17:10:01 -0700
committerNivesh Rajbhandari2012-05-04 17:10:01 -0700
commit27935436ad8cd0675311667f70b6a285eb126a94 (patch)
treee005ed8f855b1331eca878e248d4fa657cbdbc96 /js/ninja.reel
parentefe62dff2ba6894551fb9679d150255bae5af36e (diff)
downloadninja-27935436ad8cd0675311667f70b6a285eb126a94.tar.gz
Fixing references to iframe's styles in new template.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/ninja.reel')
-rwxr-xr-xjs/ninja.reel/ninja.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index cf7c6cf4..edc1efa4 100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -300,7 +300,7 @@ exports.Ninja = Montage.create(Component, {
300 // Turn on WebGL animation during preview 300 // Turn on WebGL animation during preview
301 _toggleWebGlAnimation: { 301 _toggleWebGlAnimation: {
302 value: function(inLivePreview) { 302 value: function(inLivePreview) {
303 var glCanvases = this.currentDocument.iframe.contentWindow.document.querySelectorAll('[data-RDGE-id]'), 303 var glCanvases = this.currentDocument.model.views.design.iframe.contentWindow.document.querySelectorAll('[data-RDGE-id]'),
304 glShapeModel; 304 glShapeModel;
305 if(glCanvases) { 305 if(glCanvases) {
306 for(var i = 0, len = glCanvases.length; i<len; i++) { 306 for(var i = 0, len = glCanvases.length; i<len; i++) {