diff options
Diffstat (limited to 'node_modules/montage/ui/condition.reel')
-rwxr-xr-x | node_modules/montage/ui/condition.reel/condition.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/montage/ui/condition.reel/condition.js b/node_modules/montage/ui/condition.reel/condition.js index 064f51b7..bcb0e957 100755 --- a/node_modules/montage/ui/condition.reel/condition.js +++ b/node_modules/montage/ui/condition.reel/condition.js | |||
@@ -148,7 +148,7 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond | |||
148 | this.content = document.createElement("div"); | 148 | this.content = document.createElement("div"); |
149 | childList = Array.prototype.slice.call(this._element.childNodes, 0); | 149 | childList = Array.prototype.slice.call(this._element.childNodes, 0); |
150 | for (i = 0; (childElement = childList[i]); i++) { | 150 | for (i = 0; (childElement = childList[i]); i++) { |
151 | childElement.parentElement.removeChild(childElement); | 151 | childElement.parentNode.removeChild(childElement); |
152 | this.content.appendChild(childElement); | 152 | this.content.appendChild(childElement); |
153 | } | 153 | } |
154 | } | 154 | } |