aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/3D
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-11 15:00:36 -0700
committerValerio Virgillito2012-05-11 15:00:36 -0700
commitf4c4bc7971a50f9e258d1ac23c70f8ea8cfe5dd6 (patch)
tree297cc2bdd26c5a72bd88edf6d91be8ceef25e98b /js/helper-classes/3D
parent2b718df00eb9f3a3d2ad269fab533967668988bf (diff)
parent1fb663b5f348fe2ff5ce86a80e8a61be289eba70 (diff)
downloadninja-f4c4bc7971a50f9e258d1ac23c70f8ea8cfe5dd6.tar.gz
Merge branch 'dom-architecture' of github.com:Motorola-Mobility/ninja-internal into dom-architecture
Diffstat (limited to 'js/helper-classes/3D')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index 6da6de0e..22446403 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -354,14 +354,13 @@ exports.ViewUtils = Montage.create(Component, {
354 354
355 // transform the bounds up the tree 355 // transform the bounds up the tree
356 var child = elt; 356 var child = elt;
357 var parent = elt.offsetParent;
358 while ( child ) 357 while ( child )
359 { 358 {
360 pt = this.childToParent( pt, child ); 359 pt = this.childToParent( pt, child );
361 360
362 if (child === this._stageElement) break; 361 if (child === this._stageElement) break;
363 362
364 child = parent; 363 child = child.offsetParent;
365 } 364 }
366 365
367 ///////////////////////////////////////////////////////// 366 /////////////////////////////////////////////////////////