We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a67252c commit 029aa63Copy full SHA for 029aa63
src/Smartstore.Web/wwwroot/js/smartstore.captcha.grecaptcha.js
@@ -81,10 +81,11 @@
81
if (typeof form.checkValidity === 'function' && !form.checkValidity()) return;
82
83
// jQuery unobtrusive validation
84
- const validator = $(form).data('validator');
+ const $form = $(form);
85
+ const validator = $form.data('validator');
86
if (validator) {
- form.validate();
87
- if (!form.valid()) {
+ $form.validate();
88
+ if (!$form.valid()) {
89
return;
90
}
91
0 commit comments