Skip to content

Commit

Permalink
#70 - Clone style element for non supported constructing stylesheet b…
Browse files Browse the repository at this point in the history
…rowsers
  • Loading branch information
Manvel committed Jan 2, 2020
1 parent 65180e8 commit 8a1f8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class ConstructableCSS
if (this.sheet instanceof CSSStyleSheet)
shadowRoot.adoptedStyleSheets = [this.sheet];
else
shadowRoot.appendChild(this.sheet);
shadowRoot.appendChild(this.sheet.cloneNode(true));
}
}

Expand Down

0 comments on commit 8a1f8ff

Please sign in to comment.