mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
add csp
This commit is contained in:
1 parent
f4426a8ee0
commit
b64a84a362
51 files changed
+725
-147
No files matched your search
@@ -0,0 +1,11 @@
|
||||
export default class extends HTMLElement {
|
||||
connectedCallback () {
|
||||
const button = this.querySelector('a, button')
|
||||
|
||||
button.addEventListener('click', () => {
|
||||
this.dataset.classes.split(' ').forEach((cls) => {
|
||||
button.classList.toggle(cls)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user