From 740eec3d153407b5bd6271c55067aeca97a8df99 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 15 Nov 2016 15:13:39 -0500 Subject: [PATCH] FIX: Use the view's container if available --- app/assets/javascripts/discourse/widgets/connector.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/connector.js.es6 b/app/assets/javascripts/discourse/widgets/connector.js.es6 index cc133942d3d..b81c758e8d1 100644 --- a/app/assets/javascripts/discourse/widgets/connector.js.es6 +++ b/app/assets/javascripts/discourse/widgets/connector.js.es6 @@ -21,7 +21,7 @@ export default class Connector { } const view = Ember.View.create({ - container: widget.register, + container: mounted.container || widget.register, templateName: opts.templateName, context });