mirror of
https://github.com/discourse/discourse.git
synced 2025-04-17 05:20:15 +08:00
FIX: Use the view's container if available
This commit is contained in:
parent
d57adfed02
commit
740eec3d15
@ -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
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user