diff options
Diffstat (limited to 'node_modules/montage/ui')
-rwxr-xr-x | node_modules/montage/ui/condition.reel/condition.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/montage/ui/condition.reel/condition.js b/node_modules/montage/ui/condition.reel/condition.js index e88d96a1..053adb16 100755 --- a/node_modules/montage/ui/condition.reel/condition.js +++ b/node_modules/montage/ui/condition.reel/condition.js | |||
@@ -162,6 +162,7 @@ exports.Condition = Montage.create(Component, /** @lends module:"montage/ui/cond | |||
162 | // this keeps us from having to keep track of the range or risk losing | 162 | // this keeps us from having to keep track of the range or risk losing |
163 | // a reference to the elements when they're extracted | 163 | // a reference to the elements when they're extracted |
164 | conditionContentRange.surroundContents(this.content); | 164 | conditionContentRange.surroundContents(this.content); |
165 | conditionContentRange.deleteContents(); //remove the contents that are part of the original structure | ||
165 | } | 166 | } |
166 | 167 | ||
167 | var slotRoot = document.createElement("div"); | 168 | var slotRoot = document.createElement("div"); |