Skip to content

Commit

Permalink
Fix a problem with sending a Ninja form with solved hCaptcha.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Oct 20, 2024
1 parent 65343d1 commit 21486fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/hcaptcha-nf.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ document.addEventListener( 'DOMContentLoaded', function() {
'.h-captcha[data-fieldId="' + fieldId + '"] textarea[name="h-captcha-response"]'
);

model.set( 'value', hcapResponse );
model.set( 'value', hcapResponse.value );
}
},
} );
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ Instructions for popular native integrations are below:
* Added compatibility with WordPress Recovery Mode.
* Added compatibility with Akismet tag in Contact Form 7.
* Fixed racing condition when loading hCaptcha API.
* Fixed problem with sending a Ninja form with solved hCaptcha.
* Fixed non-active hCaptcha when editing a page containing a Forminator form.
* Fixed launching notifications script on every admin page.

Expand Down

0 comments on commit 21486fb

Please sign in to comment.