Skip to content

Commit

Permalink
fix: remove the async attribute from reCaptcha script (#5)
Browse files Browse the repository at this point in the history
To make sure reCaptcha could find the user-provided function.
  • Loading branch information
razonyang committed Jun 20, 2023
1 parent 4776fc3 commit 1045f5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion layouts/partials/recaptcha-v2/assets/js.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
{{- $lang := site.Language.Lang }}
<script
src="https://www.google.com/recaptcha/api.js?onload=reCaptchaOnload&render=explicit&hl={{ $lang }}"
async
defer></script>

0 comments on commit 1045f5b

Please sign in to comment.