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.
1 parent ce6795c commit 454b6f9Copy full SHA for 454b6f9
ReCaptchaFrontendUi/view/frontend/web/js/reCaptcha.js
@@ -59,7 +59,11 @@ define(
59
* @returns {Boolean}
60
*/
61
getIsInvisibleRecaptcha: function () {
62
- return this.settings.invisible;
+ if (this.settings === void 0) {
63
+ return false;
64
+ } else {
65
+ return this.settings.invisible;
66
+ }
67
},
68
69
/**
@@ -83,7 +87,7 @@ define(
83
87
widgetId,
84
88
parameters;
85
89
86
- if (this.captchaInitialized) {
90
+ if (this.captchaInitialized || this.settings === void 0) {
91
return;
92
}
93
0 commit comments