aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/slot.reel/slot.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/slot.reel/slot.js')
-rwxr-xr-xnode_modules/montage/ui/slot.reel/slot.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/montage/ui/slot.reel/slot.js b/node_modules/montage/ui/slot.reel/slot.js
index 45c0ac1d..818cc68d 100755
--- a/node_modules/montage/ui/slot.reel/slot.js
+++ b/node_modules/montage/ui/slot.reel/slot.js
@@ -247,7 +247,10 @@ var Slot = exports.Slot = Montage.create(Component, /** @lends module:"montage/u
247 247
248 // Introduce to the componentTree if content appended was a component 248 // Introduce to the componentTree if content appended was a component
249 if (this._contentToAppend && (typeof this._contentToAppend.element !== "undefined")) { 249 if (this._contentToAppend && (typeof this._contentToAppend.element !== "undefined")) {
250 this.childComponents = [this._contentToAppend]; 250 this._contentToAppend.attachToParentComponent();
251 // HACK: gets around the issue of the component never being part of the draw loop again because of the idempotence of the needsDraw = true.
252 this._contentToAppend.needsDraw = false;
253 this._contentToAppend.needsDraw = true;
251 } 254 }
252 } 255 }
253 256