We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36db6e7 + ab62de3 commit ed4ae18Copy full SHA for ed4ae18
components/CaptchEtatBundle/src/bundle/Resources/public/js/captchetat-widget.js
@@ -7,6 +7,10 @@ const captchaEtat = (function () {
7
const widgets = container.querySelectorAll('.js-captcha-widget');
8
9
for (const widget of widgets) {
10
+ if(widget.dataset.initialized === "true") {
11
+ continue;
12
+ }
13
+ widget.dataset.initialized = "true"
14
const htmlContainer = widget.querySelector('.captcha-html-container');
15
const idInput = widget.querySelector('.captcha-input [name*="[captcha_id]"]')
16
const captchaType = widget.dataset.type
0 commit comments