@descope/web-components-ui 1.0.408 → 1.0.409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.cjs.js
CHANGED
@@ -17404,6 +17404,10 @@ class RawRecaptcha extends BaseClass {
|
|
17404
17404
|
return;
|
17405
17405
|
}
|
17406
17406
|
|
17407
|
+
this.toggleRecaptchaEles(enabled);
|
17408
|
+
}
|
17409
|
+
|
17410
|
+
toggleRecaptchaEles(enabled) {
|
17407
17411
|
if (enabled) {
|
17408
17412
|
this.recaptchaEle.style.display = '';
|
17409
17413
|
this.mockRecaptchaEle.style.display = 'none';
|
@@ -17468,6 +17472,7 @@ class RawRecaptcha extends BaseClass {
|
|
17468
17472
|
this.mockRecaptchaEle.style.display = 'none';
|
17469
17473
|
this.badge.classList.add('hidden');
|
17470
17474
|
} else {
|
17475
|
+
this.toggleRecaptchaEles(this.enabled);
|
17471
17476
|
this.badge.classList.remove('hidden');
|
17472
17477
|
}
|
17473
17478
|
}
|