Skip to content

Commit 5000ef1

Browse files
MC-40393: ReCaptcha prevents checkout with In Store Pickup option
1 parent 7329605 commit 5000ef1

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

ReCaptchaStorePickup/view/frontend/web/js/reCaptchaStorePickup.js

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,17 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
define(
7-
[
8-
'Magento_ReCaptchaFrontendUi/js/reCaptcha'
9-
],
10-
function (Component) {
11-
'use strict';
6+
define(['Magento_ReCaptchaFrontendUi/js/reCaptcha'], function (reCaptcha) {
7+
'use strict';
128

13-
return Component.extend({
9+
return reCaptcha.extend({
1410

15-
/**
16-
* @inheritdoc
17-
*/
18-
renderReCaptcha: function () {
19-
this.captchaInitialized = false;
20-
this._super();
21-
},
22-
});
23-
}
24-
);
11+
/**
12+
* @inheritdoc
13+
*/
14+
renderReCaptcha: function () {
15+
this.captchaInitialized = false;
16+
this._super();
17+
}
18+
});
19+
});

0 commit comments

Comments
 (0)