Skip to content

Commit

Permalink
Use correct ShadyDOM API: attachDom
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Feb 20, 2019
1 parent 50ba9ce commit 1aeaa80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mixins/element-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ export const ElementMixin = dedupingMixin(base => {
if (dom) {
if (!n.shadowRoot) {
if (window.ShadyDOM) {
ShadyDOM.upgrade(dom, this, {mode: 'open'});
ShadyDOM['attachDom'](dom, this, {mode: 'open'});
} else {
n.attachShadow({mode: 'open'});
n.shadowRoot.appendChild(dom);
Expand Down

0 comments on commit 1aeaa80

Please sign in to comment.