Skip to content

Commit

Permalink
Merge pull request #67 from mageplaza/2.4-develop
Browse files Browse the repository at this point in the history
2.4 develop
  • Loading branch information
Victor-Mageplaza committed Aug 22, 2021
2 parents e61b880 + 07637d2 commit 825a882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/web/js/captcha.js
Expand Up @@ -88,7 +88,7 @@ define([
&& $(element).prop("tagName").toLowerCase() === 'form') {
self.activeForm.push(element);
result = true;
} else if (element === '.opc-wrapper.one-step-checkout-wrapper') {
} else if (element === '.opc-wrapper.one-step-checkout-wrapper' && $(element).length > 0) {
self.activeForm.push(element);
result = true;
}
Expand Down

0 comments on commit 825a882

Please sign in to comment.