remove embedcode id prefix (#472)

This commit is contained in:
Chirag Chhatrala
2024-07-01 16:37:35 +05:30
committed by GitHub
parent 40f460e122
commit 52f65752af
4 changed files with 8 additions and 15 deletions

View File

@@ -473,7 +473,7 @@
* Starting from here is OpnForm custom code.
* @type {string}
*/
function initForm(formSlug) {
function initEmbed(formSlug) {
if (!formSlug) {
return
}
@@ -493,6 +493,6 @@ function initForm(formSlug) {
})
document.addEventListener("DOMContentLoaded", function () {
iFrameResize({log: false, checkOrigin: false}, '#form-' + formSlug)
iFrameResize({log: false, checkOrigin: false}, '#' + formSlug)
})
}

File diff suppressed because one or more lines are too long