fix: script detected

This commit is contained in:
Xmader 2020-11-21 15:31:57 -05:00
parent d873a9b89e
commit 71091c9205
No known key found for this signature in database
GPG key ID: A20B97FB9EB730E4

View file

@ -98,6 +98,8 @@ export class BtnList {
// hide buttons using the shadow DOM
const newParent = btnParent.cloneNode(false) as HTMLDivElement
newParent.append(...this.list)
const slot = document.createElement('slot')
newParent.append(slot)
shadow.append(newParent)
return btnParent