diff --git a/client/components/pages/forms/show/EmbedCode.vue b/client/components/pages/forms/show/EmbedCode.vue
index 24bf4a3..d16ef80 100644
--- a/client/components/pages/forms/show/EmbedCode.vue
+++ b/client/components/pages/forms/show/EmbedCode.vue
@@ -42,7 +42,7 @@ export default {
},
iframeCode() {
const share_url = (this.extraQueryParam) ? this.form.share_url + "?" + this.extraQueryParam : this.form.share_url + this.extraQueryParam
- return ''
+ return ''
},
iframeId() {
return 'form-' + this.form.slug
diff --git a/client/pages/forms/[slug]/index.vue b/client/pages/forms/[slug]/index.vue
index d9b9800..0637b42 100644
--- a/client/pages/forms/[slug]/index.vue
+++ b/client/pages/forms/[slug]/index.vue
@@ -166,8 +166,6 @@ useHead({
}
return titleChunk ? `${titleChunk} - OpnForm` : 'OpnForm';
},
- ... form.value.custom_code ? {
- script: [ { src: '/widgets/iframeResizer.contentWindow.min.js' } ]
- } : {}
+ script: [ { src: '/widgets/iframeResizer.contentWindow.min.js' } ]
})