diff --git a/source/dom/Control.js b/source/dom/Control.js index 5f87d1bd1..479b49538 100644 --- a/source/dom/Control.js +++ b/source/dom/Control.js @@ -629,7 +629,8 @@ enyo.kind({ } }, getParentNode: function() { - return this.parentNode || (this.parent && this.parent.hasNode()) || (this.parent && this.parent.getParentNode && this.parent.getParentNode()); + //return this.parentNode || (this.parent && this.parent.hasNode()) || (this.parent && this.parent.getParentNode && this.parent.getParentNode()); + return this.parentNode || (this.parent && (this.parent.hasNode() || this.parent.getParentNode())); }, addNodeToParent: function() { if (this.node) {