File tree 4 files changed +11
-3
lines changed
4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ 1.1.0]
9
+ ### Fixed
10
+ - Avoid recpatcha on focus at checkout page
11
+
8
12
## [ 1.0.0] - 2024-11-06
9
13
### Added
10
14
- Initial version
Original file line number Diff line number Diff line change 8
8
"name" : " Serfe"
9
9
}
10
10
],
11
- "version" : " 1.0 .0" ,
11
+ "version" : " 1.1 .0" ,
12
12
"minimum-stability" : " stable" ,
13
13
"require" : {
14
14
"magento/module-re-captcha-frontend-ui" : " *"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
3
- <module name =" Serfe_SmartRecaptchaLoader" setup_version =" 1.0 .0" >
3
+ <module name =" Serfe_SmartRecaptchaLoader" setup_version =" 1.1 .0" >
4
4
<sequence >
5
5
<module name =" Magento_ReCaptchaFrontendUi" />
6
6
</sequence >
Original file line number Diff line number Diff line change @@ -43,7 +43,11 @@ define(
43
43
initialize : function ( ) {
44
44
this . _super ( ) ;
45
45
46
- this . attachFocusEvent ( ) ;
46
+ if ( window . location . href . includes ( 'checkout' ) ) {
47
+ this . _loadApi ( ) ;
48
+ } else {
49
+ this . attachFocusEvent ( ) ;
50
+ }
47
51
} ,
48
52
49
53
attachFocusEvent : function ( ) {
You can’t perform that action at this time.
0 commit comments