File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
<div class="inline field tw-text-center required">
11
11
<div id="captcha" data-captcha-type="g-recaptcha" class="g-recaptcha-style" data-sitekey="{{.RecaptchaSitekey}}"></div>
12
12
</div>
13
- <script src='{{URLJoin .RecaptchaURL "api.js"}}'></script>
13
+ <script defer src='{{URLJoin .RecaptchaURL "api.js"}}'></script>
14
14
{{else if eq .CaptchaType "hcaptcha"}}
15
15
<div class="inline field tw-text-center required">
16
16
<div id="captcha" data-captcha-type="h-captcha" class="h-captcha-style" data-sitekey="{{.HcaptchaSitekey}}"></div>
17
17
</div>
18
- <script src='https://hcaptcha.com/1/api.js'></script>
18
+ <script defer src='https://hcaptcha.com/1/api.js'></script>
19
19
{{else if eq .CaptchaType "mcaptcha"}}
20
20
<div class="inline field tw-text-center">
21
21
<div class="m-captcha-style" id="mcaptcha__widget-container"></div>
25
25
<div class="inline field tw-text-center">
26
26
<div id="captcha" data-captcha-type="cf-turnstile" data-sitekey="{{.CfTurnstileSitekey}}"></div>
27
27
</div>
28
- <script src='https://challenges.cloudflare.com/turnstile/v0/api.js'></script>
28
+ <script defer src='https://challenges.cloudflare.com/turnstile/v0/api.js'></script>
29
29
{{end}}{{end}}
You can’t perform that action at this time.
0 commit comments