aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ninja.reel/ninja.js')
-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++) {