mirror of
https://github.com/docusealco/docuseal
synced 2026-11-11 07:42:32 -05:00
fix csp
This commit is contained in:
1 parent
6b54072cb5
commit
7015d8dde8
1 file changed
+3
-1
@@ -1,4 +1,4 @@
|
|||||||
<script nonce="<%= content_security_policy_nonce %>">
|
<script id="autosize_script" nonce="<%= content_security_policy_nonce %>">
|
||||||
if (!window.customElements.get('autosize-field')) {
|
if (!window.customElements.get('autosize-field')) {
|
||||||
window.customElements.define('autosize-field', class extends HTMLElement {
|
window.customElements.define('autosize-field', class extends HTMLElement {
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
@@ -19,4 +19,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.autosize_script.remove()
|
||||||
</script>
|
</script>
|
||||||
Reference in new issue
Block a user