Don't keep custom styles in window scope
This commit is contained in:
parent
55e9c00d3c
commit
f9bb271506
3 changed files with 3 additions and 7 deletions
|
@ -100,8 +100,7 @@ class TabGroup extends HTMLElement {
|
|||
// Support custom styles
|
||||
const style = this.querySelector("style");
|
||||
if (style) {
|
||||
const clone = style.cloneNode(true);
|
||||
this.shadow.appendChild(clone);
|
||||
this.shadow.appendChild(style);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue