mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
FIX: Was leaking tagName
across plugin outlets
This commit is contained in:
parent
1006b1ba94
commit
2cd6649ba0
|
@ -172,7 +172,7 @@ Ember.HTMLBars._registerHelper('plugin-outlet', function(params, hash, options,
|
|||
// just shove it in.
|
||||
const viewClass = (childViews.length > 1) ? Ember.ContainerView : childViews[0];
|
||||
|
||||
const newHash = viewInjections(env.data.view.container);
|
||||
const newHash = $.extend({}, viewInjections(env.data.view.container));
|
||||
if (hash.tagName) { newHash.tagName = hash.tagName; }
|
||||
|
||||
delete options.fn; // we don't need the default template since we have a connector
|
||||
|
|
Loading…
Reference in New Issue
Block a user