Remove useless iframe attributes
Fix resize for all forms crisp migration (#302) Co-authored-by: Julien Nahum <julien@nahum.net> fix console error (#304) fix: dark mode issues on form preview (#301) * fix: dark mode issues on form preview * Fix darkmode issues --------- Co-authored-by: Julien Nahum <julien@nahum.net> Remove useless iframe attributes
This commit is contained in:
parent
64184e9aaf
commit
abfbad465c
|
@ -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 '<iframe style="border:none;width:100%;" frameborder="0" width="100%" frameborder="0" id="' + this.iframeId + '" src="' + share_url + '"></iframe>'
|
||||
return '<iframe style="border:none;width:100%;" id="' + this.iframeId + '" src="' + share_url + '"></iframe>'
|
||||
},
|
||||
iframeId() {
|
||||
return 'form-' + this.form.slug
|
||||
|
|
|
@ -166,8 +166,6 @@ useHead({
|
|||
}
|
||||
return titleChunk ? `${titleChunk} - OpnForm` : 'OpnForm';
|
||||
},
|
||||
... form.value.custom_code ? {
|
||||
script: [ { src: '/widgets/iframeResizer.contentWindow.min.js' } ]
|
||||
} : {}
|
||||
})
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue