aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D/view-utils.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-11 11:11:18 -0700
committerValerio Virgillito2012-05-11 11:11:18 -0700
commit5d154f12287dcc1e8a4125b931d4f36e633d6907 (patch)
treeb68b4fa144b740fd4890de2447c463fd7d9eb812 /js/helper-classes/3D/view-utils.js
parent063252524696261bc347e2c3fb1ca82db80183e0 (diff)
parent6abfeed78ddae26f04531cddbcb560451891c412 (diff)
downloadninja-5d154f12287dcc1e8a4125b931d4f36e633d6907.tar.gz
Merge pull request #218 from mqg734/Dom-Architecture
Fixing runtime error after toggling use webgl.
Diffstat (limited to 'js/helper-classes/3D/view-utils.js')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index 5dc099ee..6da6de0e 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -359,11 +359,9 @@ exports.ViewUtils = Montage.create(Component, {
359 { 359 {
360 pt = this.childToParent( pt, child ); 360 pt = this.childToParent( pt, child );
361 361
362// if (parent === this._rootElement) break;
363 if (child === this._stageElement) break; 362 if (child === this._stageElement) break;
364 363
365 child = parent; 364 child = parent;
366 parent = parent.offsetParent;
367 } 365 }
368 366
369 ///////////////////////////////////////////////////////// 367 /////////////////////////////////////////////////////////