We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b9f26 commit 2522a5aCopy full SHA for 2522a5a
1 file changed
src/auto-shadow-root.ts
@@ -5,7 +5,7 @@ export function autoShadowRoot(element: HTMLElement): void {
5
.attachShadow({
6
mode: template.getAttribute('data-shadowroot') === 'closed' ? 'closed' : 'open'
7
})
8
- .appendChild(template.content.cloneNode(true))
+ .append(template.content.cloneNode(true))
9
}
10
11
0 commit comments